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

Required Methods§

Implementors§