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