pub trait BluetoothAdvertisingEventMethods {
    // Required methods
    fn Device(&self) -> Root<Dom<BluetoothDevice>>;
    fn GetName(&self) -> Option<DOMString>;
    fn GetAppearance(&self) -> Option<u16>;
    fn GetTxPower(&self) -> Option<i8>;
    fn GetRssi(&self) -> Option<i8>;
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        type_: DOMString,
        init: &BluetoothAdvertisingEventInit,
    ) -> Result<Root<Dom<BluetoothAdvertisingEvent>>, Error>;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§