pub trait BluetoothMethods<D: DomTypes> {
    // 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>;
}

Required Methods§

Implementors§