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>;
}

Required Methods§

source

fn Characteristic(&self) -> Root<Dom<BluetoothRemoteGATTCharacteristic>>

source

fn Uuid(&self) -> DOMString

source

fn GetValue(&self) -> Option<ByteString>

source

fn ReadValue(&self, _comp: InRealm<'_>, _can_gc: CanGc) -> Rc<Promise>

source

fn WriteValue( &self, value: ArrayBufferViewOrArrayBuffer, _comp: InRealm<'_>, _can_gc: CanGc, ) -> Rc<Promise>

Implementors§