Trait script::dom::bindings::codegen::Bindings::BluetoothDeviceBinding::BluetoothDevice_Binding::BluetoothDeviceMethods
source · 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<'_>) -> Rc<Promise>;
fn UnwatchAdvertisements(&self);
fn WatchingAdvertisements(&self) -> bool;
fn GetOngattserverdisconnected(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOngattserverdisconnected(
&self,
value: Option<Rc<EventHandlerNonNull>>
);
}