System.Bluetooth.TBluetoothGattDescriptor.DoGetFormatUnit
Delphi
function DoGetFormatUnit: TBluetoothUUID; virtual; abstract;
C++
virtual GUID __fastcall DoGetFormatUnit() = 0 ;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattDescriptor |
説明
このディスクリプタを提供するキャラクタリスティックの値の計量単位の UUID を返します。
GetKnownUnitName を使用すると、UUID で指定された単位の英語名を取得できます。ただし、Bluetooth LE デバイスの場合は、カスタム UUID を使って追加の非標準単位を指定する可能性があります。
ディスクリプタの種類が PresentationFormat の場合にのみ、DoGetFormatUnit を呼び出すことができます。
- メモ: これは、TBluetoothGattDescriptor のプラットフォーム固有のサブクラスで実装される抽象メソッドです。