System.Bluetooth.TBluetoothGattDescriptor.DoGetFormatUnit

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DoGetFormatUnit: TBluetoothUUID; virtual; abstract;

C++

virtual GUID __fastcall DoGetFormatUnit() = 0 ;

Properties

Type Visibility Source Unit Parent
function protected
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothGattDescriptor

Description

Returns the UUID of the measurement unit of the value of the characteristic that provides the descriptor.

Use GetKnownUnitName to obtain the English name of a unit given its UUID. Bluetooth Low Energy devices may however specify additional, non-standard units using custom UUIDs.

You can only call DoGetFormatUnit if the kind of the descriptor is PresentationFormat.

Note: This is an abstract method that platform-specific subclasses of TBluetoothGattDescriptor implement.

See Also