Trait script::dom::bindings::codegen::Bindings::BluetoothDeviceBinding::BluetoothDevice_Binding::BluetoothDeviceMethods
source · pub trait BluetoothDeviceMethods<D: DomTypes> {
// 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>>,
);
}