pub(crate) 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,
descriptor: StringOrUnsignedLong,
_can_gc: CanGc,
) -> Rc<D::Promise>;
fn GetDescriptors(
&self,
descriptor: Option<StringOrUnsignedLong>,
_can_gc: CanGc,
) -> Rc<D::Promise>;
fn ReadValue(&self, _comp: InRealm<'_>, _can_gc: CanGc) -> Rc<D::Promise>;
fn WriteValue(
&self,
value: ArrayBufferViewOrArrayBuffer,
_comp: InRealm<'_>,
_can_gc: CanGc,
) -> Rc<D::Promise>;
fn StartNotifications(
&self,
_comp: InRealm<'_>,
_can_gc: CanGc,
) -> Rc<D::Promise>;
fn StopNotifications(
&self,
_comp: InRealm<'_>,
_can_gc: CanGc,
) -> Rc<D::Promise>;
fn GetOncharacteristicvaluechanged(
&self,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncharacteristicvaluechanged(
&self,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
}