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