System.Bluetooth.TBluetoothGattCharacteristic.GetValueAsInt8
Delphi
function GetValueAsInt8(Offset: Integer = 0): Int8;
C++
System::Int8 __fastcall GetValueAsInt8(int Offset = 0x0);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattCharacteristic |
Description
Returns the Characteristic Value as a ShortInt.
GetValueAsInt8 takes Offset as an argument to define the index value for the array of bytes. The default value for Offset is 0, the first position of the array.
GetValueAsInt8 calls GetValueAs with the requested type Int8.
T
|
Getter |
|---|---|
| Int16 | GetValueAsInt16 |
| Int32 | GetValueAsInt32 |
| Int64 | GetValueAsInt64 |
| UInt8 | GetValueAsUInt8 |
| UInt16 | GetValueAsUInt16 |
| UInt32 | GetValueAsUInt32 |
| UInt64 | GetValueAsUInt64 |
| Double | GetValueAsDouble |
| Integer | GetValueAsInteger |
| Single | GetValueAsSingle |
| String | GetValueAsString |