ArcGIS for Developers

DescriptorListModel QML Type

A list model for descriptors, called by BluetoothLECharacteristic. More...

Import Statement: import ArcGIS.AppFramework.Devices 1.0

Properties

Methods

  • BluetoothLEDescriptor get(index)
  • BluetoothLEDescriptor getByUuid(uuid)

Detailed Description

Enumerations

DescriptorRoles enumeration

This enum describes the potential roles of a descriptor.

NameValue
DescriptorListModel.NameRole257
DescriptorListModel.ValueRole258
DescriptorListModel.UuidRole259
DescriptorListModel.ValidRole260
DescriptorListModel.TypeRole261

Property Documentation

[read-only] count : int

Returns the number of descriptors present in the list model.


Method Documentation

Retrieves the descriptor associated with the given index number.

The index parameter

The index number to return the corresponding descriptor of.


BluetoothLEDescriptor getByUuid(uuid)

Retrieves the descriptor associated with the given UUID.

The uuid parameter

The UUID to return the corresponding descriptor of.