BluetoothRemoteGATTCharacteristic class

Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The BluetoothRemoteGattCharacteristic interface of the Web Bluetooth API represents a GATT Characteristic, which is a basic data element that provides further information about a peripheral’s service.

EventTarget

BluetoothRemoteGATTCharacteristic

Implemented types
Available extensions
Annotations
  • @experimental
  • @JS.new()
  • @staticInterop

Constructors

BluetoothRemoteGATTCharacteristic()
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
oncharacteristicvaluechanged ↔ EventHandlerNonNull<Event>?

Available on CharacteristicEventHandlers, provided by the PropsCharacteristicEventHandlers extension

getter/setter pair
properties → BluetoothCharacteristicProperties

Available on BluetoothRemoteGATTCharacteristic, provided by the PropsBluetoothRemoteGATTCharacteristic extension

no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
service → BluetoothRemoteGATTService

Available on BluetoothRemoteGATTCharacteristic, provided by the PropsBluetoothRemoteGATTCharacteristic extension

no setter
uuid → String

Available on BluetoothRemoteGATTCharacteristic, provided by the PropsBluetoothRemoteGATTCharacteristic extension

no setter
value → ByteData?

Available on BluetoothRemoteGATTCharacteristic, provided by the PropsBluetoothRemoteGATTCharacteristic extension

no setter

Methods

addEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

dispatchEvent(Event event) → bool

Available on EventTarget, provided by the PropsEventTarget extension

getDescriptor(dynamic descriptor) → Future<BluetoothRemoteGATTDescriptor>

Available on BluetoothRemoteGATTCharacteristic, provided by the PropsBluetoothRemoteGATTCharacteristic extension

getDescriptors([dynamic descriptor]) → Future<Iterable<BluetoothRemoteGATTDescriptor>>

Available on BluetoothRemoteGATTCharacteristic, provided by the PropsBluetoothRemoteGATTCharacteristic extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readValue() → Future<ByteData>

Available on BluetoothRemoteGATTCharacteristic, provided by the PropsBluetoothRemoteGATTCharacteristic extension

removeEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

startNotifications() → Future<BluetoothRemoteGATTCharacteristic>

Available on BluetoothRemoteGATTCharacteristic, provided by the PropsBluetoothRemoteGATTCharacteristic extension

stopNotifications() → Future<BluetoothRemoteGATTCharacteristic>

Available on BluetoothRemoteGATTCharacteristic, provided by the PropsBluetoothRemoteGATTCharacteristic extension

toString() → String
A string representation of this object.
inherited
writeValue(dynamic value) → Future<void>

Available on BluetoothRemoteGATTCharacteristic, provided by the PropsBluetoothRemoteGATTCharacteristic extension

writeValueWithoutResponse(dynamic value) → Future<void>

Available on BluetoothRemoteGATTCharacteristic, provided by the PropsBluetoothRemoteGATTCharacteristic extension

writeValueWithResponse(dynamic value) → Future<void>

Available on BluetoothRemoteGATTCharacteristic, provided by the PropsBluetoothRemoteGATTCharacteristic extension

Operators

operator ==(Object other) → bool
The equality operator.
inherited