BluetoothGattCharacteristic.GetIntValue(GattFormat, Int32) Method

Definition

Return the stored value of this characteristic.

[Android.Runtime.Register("getIntValue", "(II)Ljava/lang/Integer;", "GetGetIntValue_IIHandler")]
public virtual Java.Lang.Integer? GetIntValue (Android.Bluetooth.GattFormat formatType, int offset);
[<Android.Runtime.Register("getIntValue", "(II)Ljava/lang/Integer;", "GetGetIntValue_IIHandler")>]
abstract member GetIntValue : Android.Bluetooth.GattFormat * int -> Java.Lang.Integer
override this.GetIntValue : Android.Bluetooth.GattFormat * int -> Java.Lang.Integer

Parameters

formatType
GattFormat

The format type used to interpret the characteristic value.

offset
Int32

Offset at which the integer value can be found.

Returns

Cached value of the characteristic or null of offset exceeds value size.

Attributes

Remarks

Java documentation for android.bluetooth.BluetoothGattCharacteristic.getIntValue(int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to