System.Bluetooth.TBluetoothGattCharacteristic.GetValueAs

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

Delphi

function GetValueAs<T>(Offset: Integer = 0): T;

C++

template<typename T> T __fastcall GetValueAs(int Offset = 0x0);

プロパティ

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


説明

キャラクタリスティックのを、要求された型 T として返します。

GetValueAs は、バイト配列のインデックス値を指定する引数として Offset を受け取ります。Offset のデフォルト値は 0(配列の先頭位置)です。

T 取得アクセサ
Int8 GetValueAsInt8
Int16 GetValueAsInt16
Int32 GetValueAsInt32
Int64 GetValueAsInt64
UInt8 GetValueAsUInt8
UInt16 GetValueAsUInt16
UInt32 GetValueAsUInt32
UInt64 GetValueAsUInt64
Double GetValueAsDouble
Integer GetValueAsInteger
Single GetValueAsSingle
String GetValueAsString

関連項目