BluetoothMethods

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

Required Methods§

Implementors§