Skip to main content

BluetoothRemoteGATTServiceMethods

Trait BluetoothRemoteGATTServiceMethods 

Source
pub trait BluetoothRemoteGATTServiceMethods<D>
where D: DomTypes,
{
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, ) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot; fn GetCharacteristics( &self, realm: &mut CurrentRealm<'_>, characteristic: Option<StringOrUnsignedLong>, ) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot; fn GetIncludedService( &self, realm: &mut CurrentRealm<'_>, service: StringOrUnsignedLong, ) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot; fn GetIncludedServices( &self, realm: &mut CurrentRealm<'_>, service: Option<StringOrUnsignedLong>, ) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot; fn GetOnserviceadded( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<D>>>; fn SetOnserviceadded( &self, cx: &mut JSContext, value: Option<RootedCallback<EventHandlerNonNull<D>>>, ); fn GetOnservicechanged( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<D>>>; fn SetOnservicechanged( &self, cx: &mut JSContext, value: Option<RootedCallback<EventHandlerNonNull<D>>>, ); fn GetOnserviceremoved( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<D>>>; fn SetOnserviceremoved( &self, cx: &mut JSContext, value: Option<RootedCallback<EventHandlerNonNull<D>>>, );
}

Required Methods§

Implementors§