System.Bluetooth.TBluetoothGattDescriptor.DoGetExponent

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function DoGetExponent: ShortInt; virtual; abstract;

C++

virtual System::Int8 __fastcall DoGetExponent() = 0 ;

プロパティ

種類 可視性 ソース ユニット
function protected
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothGattDescriptor


説明

このディスクリプタを提供するキャラクタリスティックの実際の値を取得するためにそのキャラクタリスティックのに適用する必要がある指数を返します。

キャラクタリスティックの実際の値は、<キャラクタリスティック値> * 10 ^ <指数> の結果、得られます。

次に例を示します。

  • キャラクタリスティック値が 23 で、DoGetExponent が 2 を返す場合、キャラクタリスティックの実際の値は 2.300 です。
  • キャラクタリスティック値が 3892 で、DoGetExponent が -3 を返す場合、キャラクタリスティックの実際の値は 3.892 です。

ディスクリプタの種類PresentationFormat の場合にのみ、DoGetExponent を呼び出すことができます。

メモ: これは、TBluetoothGattDescriptor のプラットフォーム固有のサブクラスで実装される抽象メソッドです。

関連項目