Trait BluetoothMethods

Source
pub trait BluetoothMethods<D>
where D: DomTypes,
{ // Required methods fn GetAvailability( &self, _comp: InRealm<'_>, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>; fn GetOnavailabilitychanged(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnavailabilitychanged( &self, value: Option<Rc<EventHandlerNonNull<D>>>, ); fn RequestDevice( &self, options: &RequestDeviceOptions, _comp: InRealm<'_>, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>; }

Required Methods§

Source

fn GetAvailability( &self, _comp: InRealm<'_>, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>

Source

fn GetOnavailabilitychanged(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnavailabilitychanged(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn RequestDevice( &self, options: &RequestDeviceOptions, _comp: InRealm<'_>, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>

Implementors§