WebBluetoothRemoteGATTService class
A class for calling methods and values for WebBluetoothRemoteGATTService.
You can get a WebBluetoothRemoteGATTService from NativeBluetoothRemoteGATTServer.getPrimaryService, NativeBluetoothRemoteGATTServer.getPrimaryServices, WebBluetoothRemoteGATTService.getIncludedService, and ignore: deprecated_member_use_from_same_package WebBluetoothRemoteGATTService.getIncludedServices.
See:
Constructors
- WebBluetoothRemoteGATTService.fromJSObject(Object _jsObject, WebBluetoothDevice device)
- Create a new instance from a js object.
Properties
- device → WebBluetoothDevice
-
The device that this gatt server belongs too.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isPrimary → bool
-
Check if the service is a primary service (top level).
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uuid → String
-
The uuid of the service.
no setter
Methods
-
getCharacteristic(
String characteristicUUID) → Future< WebBluetoothRemoteGATTCharacteristic> - Get a characteristic from this service.
-
getCharacteristics(
[String? characteristicUUID]) → Future< List< WebBluetoothRemoteGATTCharacteristic> > - Get a characteristic from this service.
-
getIncludedService(
String serviceUUID) → Future< WebBluetoothRemoteGATTService> - Get an included service from this service.
-
getIncludedServices(
String? serviceUUID) → Future< List< WebBluetoothRemoteGATTService> > - Get all included services from this service.
-
hasGetCharacteristicsFunction(
) → bool - Check to see if the getCharacteristics function exists on the js object.
-
hasGetIncludedServiceFunction(
) → bool - Check to see if the getIncludedService function exists on the js object.
-
hasGetIncludedServicesFunction(
) → bool - ignore: deprecated_member_use_from_same_package Check to see if the getIncludedServices function exists on the js object.
-
hasIsPrimary(
) → bool - Check to see if the isPrimary exists on the js object.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited