Trait script::dom::bindings::codegen::Bindings::BluetoothRemoteGATTDescriptorBinding::BluetoothRemoteGATTDescriptor_Binding::BluetoothRemoteGATTDescriptorMethods
source · pub trait BluetoothRemoteGATTDescriptorMethods<D: DomTypes> {
// Required methods
fn Characteristic(&self) -> Root<Dom<BluetoothRemoteGATTCharacteristic>>;
fn Uuid(&self) -> DOMString;
fn GetValue(&self) -> Option<ByteString>;
fn ReadValue(&self, _comp: InRealm<'_>, _can_gc: CanGc) -> Rc<Promise>;
fn WriteValue(
&self,
value: ArrayBufferViewOrArrayBuffer,
_comp: InRealm<'_>,
_can_gc: CanGc,
) -> Rc<Promise>;
}