ArcGIS for Developers

BluetoothLEDescriptor QML Type

Stores information about, and writes data to, the Bluetooth Low Energy descriptor. More...

Import Statement: import ArcGIS.AppFramework.Devices 1.0

Properties

Methods

Detailed Description

The BluetoothLEDescriptor component represents an individual descriptor of a Bluetooth Low Energy (LE) characteristic. It can only be instantiated by BluetoothLECharacteristic. This component provides access to details of the individual descriptor.

Property Documentation

[read-only] name : string

Returns the human-readable name of the descriptor. This name is based on the descriptor's type.


[read-only] type : object

Returns the type of the descriptor.


[read-only] uuid : string

Returns the UUID of this descriptor.


[read-only] valid : bool

Returns true if the BluetoothLEDescriptor object is valid. Otherwise, returns false.


[read-only] value : object

Returns the cached value of the descriptor.


Method Documentation

read()

Reads the value of the descriptor.


write(writeData)

Writes the given string as the value for the descriptor.

The writeData parameter

The string to write as the new value.