BluetoothRemoteGATTServer class

Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production.

The interface of the Web Bluetooth API represents a GATT Server on a remote device.

Note: This page describes the W3C Community Group Web Bluetooth API. For the Firefox OS Bluetooth API, see BluetoothGattServer (Firefox OS).

Available extensions
Annotations
  • @experimental
  • @JS()
  • @staticInterop

Constructors

BluetoothRemoteGATTServer()
factory

Properties

connected bool

Available on BluetoothRemoteGATTServer, provided by the PropsBluetoothRemoteGATTServer extension

no setter
device BluetoothDevice

Available on BluetoothRemoteGATTServer, provided by the PropsBluetoothRemoteGATTServer extension

no setter
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<BluetoothRemoteGATTServer>

Available on BluetoothRemoteGATTServer, provided by the PropsBluetoothRemoteGATTServer extension

disconnect() → void

Available on BluetoothRemoteGATTServer, provided by the PropsBluetoothRemoteGATTServer extension

getPrimaryService(dynamic service) Future<BluetoothRemoteGATTService>

Available on BluetoothRemoteGATTServer, provided by the PropsBluetoothRemoteGATTServer extension

getPrimaryServices([dynamic service]) Future<Iterable<BluetoothRemoteGATTService>>

Available on BluetoothRemoteGATTServer, provided by the PropsBluetoothRemoteGATTServer extension

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