NativeBluetoothRemoteGATTServer class

Constructors

NativeBluetoothRemoteGATTServer.fromJSObject(Object _jsObject, WebBluetoothDevice device)
Create a new instance from a js object.

Properties

connected → bool
Check to see if the gatt server is connected to the device.
no setter
device → WebBluetoothDevice
The device that this gatt server belongs too.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect() → Future<NativeBluetoothRemoteGATTServer>
Connect the GATT server to the device.
disconnect() → void
Disconnect the GATT server from the device.
getPrimaryService(String serviceUUID) → Future<WebBluetoothRemoteGATTService>
Get a the primary services on the current device.
getPrimaryServices([String? serviceUUID]) → Future<List<WebBluetoothRemoteGATTService>>
Get all the primary services on the current device.
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