Trait BluetoothDeviceMethods

Source
pub(crate) trait BluetoothDeviceMethods<D>
where D: DomTypes,
{ // Required methods fn Id(&self) -> DOMString; fn GetName(&self) -> Option<DOMString>; fn GetGatt( &self, ) -> Option<Root<Dom<<D as DomTypes>::BluetoothRemoteGATTServer>>>; fn WatchAdvertisements( &self, _comp: InRealm<'_>, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>; fn UnwatchAdvertisements(&self); fn WatchingAdvertisements(&self) -> bool; fn GetOngattserverdisconnected(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOngattserverdisconnected( &self, value: Option<Rc<EventHandlerNonNull<D>>>, ); }

Required Methods§

Implementors§