Trait BluetoothMethods
Source pub trait BluetoothMethods<D>{
// Required methods
fn GetAvailability(
&self,
realm: &mut CurrentRealm<'_>,
) -> Rc<<D as DomTypes>::Promise>;
fn GetOnavailabilitychanged(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnavailabilitychanged(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn RequestDevice(
&self,
realm: &mut CurrentRealm<'_>,
options: &RequestDeviceOptions,
) -> Rc<<D as DomTypes>::Promise>;
}