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