Trait script::dom::bindings::codegen::Bindings::BluetoothBinding::BluetoothBinding::BluetoothMethods
source · pub trait BluetoothMethods {
fn GetAvailability(&self, _comp: InRealm<'_>) -> Rc<Promise>;
fn GetOnavailabilitychanged(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnavailabilitychanged(&self, value: Option<Rc<EventHandlerNonNull>>);
fn RequestDevice(
&self,
options: &RequestDeviceOptions,
_comp: InRealm<'_>
) -> Rc<Promise>;
}