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