Skip to main content

BluetoothRemoteGATTDescriptorMethods

pub trait BluetoothRemoteGATTDescriptorMethods<D: DomTypes> {
    // Required methods
    fn Characteristic(&self) -> DomRoot<D::BluetoothRemoteGATTCharacteristic>;
    fn Uuid(&self) -> DOMString;
    fn GetValue(&self) -> Option<ByteString>;
    fn ReadValue(
        &self,
        realm: &mut CurrentRealm<'_>,
    ) -> <D::Promise as PromiseHelpers<D>>::StackRoot;
    fn WriteValue(
        &self,
        realm: &mut CurrentRealm<'_>,
        value: ArrayBufferViewOrArrayBuffer,
    ) -> <D::Promise as PromiseHelpers<D>>::StackRoot;
}

Required Methods§

Implementors§