System.Bluetooth.TBluetoothGattCharacteristic.GetValueAsUInt16
Delphi
function GetValueAsUInt16(Offset: Integer = 0): UInt16;
C++
System::Word __fastcall GetValueAsUInt16(int Offset = 0x0);
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| function | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattCharacteristic |
説明
GetValueAsUInt16 は、バイトの配列に対するインデックス値を定義する、Offset を引数として取ります。 Offset のデフォルト値は 0 で、配列の最初の位置を示します。
GetValueAsUInt16 は、GetValueAs を要求された型 UInt16 で呼び出します。
T
|
取得メソッド |
|---|---|
| Int8 | GetValueAsInt8 |
| Int16 | GetValueAsInt16 |
| Int32 | GetValueAsInt32 |
| Int64 | GetValueAsInt64 |
| UInt8 | GetValueAsUInt8 |
| UInt32 | GetValueAsUInt32 |
| UInt64 | GetValueAsUInt64 |
| Double | GetValueAsDouble |
| Integer | GetValueAsInteger |
| Single | GetValueAsSingle |
| String | GetValueAsString |