pub(crate) trait BluetoothMethods<D: DomTypes> {
// Required methods
fn GetAvailability(
&self,
_comp: InRealm<'_>,
_can_gc: CanGc,
) -> Rc<D::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::Promise>;
}