pub trait BluetoothRemoteGATTServiceMethods<D: DomTypes> {
Show 13 methods
// Required methods
fn Device(&self) -> Root<Dom<BluetoothDevice>>;
fn Uuid(&self) -> DOMString;
fn IsPrimary(&self) -> bool;
fn GetCharacteristic(
&self,
characteristic: StringOrUnsignedLong,
_can_gc: CanGc,
) -> Rc<Promise>;
fn GetCharacteristics(
&self,
characteristic: Option<StringOrUnsignedLong>,
_can_gc: CanGc,
) -> Rc<Promise>;
fn GetIncludedService(
&self,
service: StringOrUnsignedLong,
_can_gc: CanGc,
) -> Rc<Promise>;
fn GetIncludedServices(
&self,
service: Option<StringOrUnsignedLong>,
_can_gc: CanGc,
) -> Rc<Promise>;
fn GetOnserviceadded(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnserviceadded(&self, value: Option<Rc<EventHandlerNonNull>>);
fn GetOnservicechanged(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnservicechanged(&self, value: Option<Rc<EventHandlerNonNull>>);
fn GetOnserviceremoved(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnserviceremoved(&self, value: Option<Rc<EventHandlerNonNull>>);
}