Trait script::dom::bindings::codegen::Bindings::BluetoothRemoteGATTServiceBinding::BluetoothRemoteGATTServiceBinding::BluetoothRemoteGATTServiceMethods
source · pub trait BluetoothRemoteGATTServiceMethods {
Show 13 methods
fn Device(&self) -> Root<Dom<BluetoothDevice>>;
fn Uuid(&self) -> DOMString;
fn IsPrimary(&self) -> bool;
fn GetCharacteristic(
&self,
characteristic: StringOrUnsignedLong
) -> Rc<Promise>;
fn GetCharacteristics(
&self,
characteristic: Option<StringOrUnsignedLong>
) -> Rc<Promise>;
fn GetIncludedService(&self, service: StringOrUnsignedLong) -> Rc<Promise>;
fn GetIncludedServices(
&self,
service: Option<StringOrUnsignedLong>
) -> 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>>);
}