Trait BluetoothRemoteGATTCharacteristicMethods
Source pub trait BluetoothRemoteGATTCharacteristicMethods<D: DomTypes> {
// Required methods
fn Service(&self) -> DomRoot<D::BluetoothRemoteGATTService>;
fn Uuid(&self) -> DOMString;
fn Properties(&self) -> DomRoot<D::BluetoothCharacteristicProperties>;
fn GetValue(&self) -> Option<ByteString>;
fn GetDescriptor(
&self,
realm: &mut CurrentRealm<'_>,
descriptor: StringOrUnsignedLong,
) -> Rc<D::Promise>;
fn GetDescriptors(
&self,
realm: &mut CurrentRealm<'_>,
descriptor: Option<StringOrUnsignedLong>,
) -> Rc<D::Promise>;
fn ReadValue(&self, realm: &mut CurrentRealm<'_>) -> Rc<D::Promise>;
fn WriteValue(
&self,
realm: &mut CurrentRealm<'_>,
value: ArrayBufferViewOrArrayBuffer,
) -> Rc<D::Promise>;
fn StartNotifications(&self, realm: &mut CurrentRealm<'_>) -> Rc<D::Promise>;
fn StopNotifications(&self, realm: &mut CurrentRealm<'_>) -> Rc<D::Promise>;
fn GetOncharacteristicvaluechanged(
&self,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncharacteristicvaluechanged(
&self,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
}