pub(crate) trait BluetoothRemoteGATTServiceMethods<D: DomTypes> {
Show 13 methods // Required methods fn Device(&self) -> DomRoot<D::BluetoothDevice>; fn Uuid(&self) -> DOMString; fn IsPrimary(&self) -> bool; fn GetCharacteristic( &self, characteristic: StringOrUnsignedLong, _can_gc: CanGc, ) -> Rc<D::Promise>; fn GetCharacteristics( &self, characteristic: Option<StringOrUnsignedLong>, _can_gc: CanGc, ) -> Rc<D::Promise>; fn GetIncludedService( &self, service: StringOrUnsignedLong, _can_gc: CanGc, ) -> Rc<D::Promise>; fn GetIncludedServices( &self, service: Option<StringOrUnsignedLong>, _can_gc: CanGc, ) -> Rc<D::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>>>);
}

Required Methods§

Implementors§