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