Skip to main content

BluetoothMethods

Trait BluetoothMethods 

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

Required Methods§

Implementors§