BluetoothGattCharacteristic.GetIntValue(GattFormat, Int32) 方法

定义

返回此特征的存储值。

[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

参数

formatType
GattFormat

用于解释特征值的格式类型。

offset
Int32

可在其中找到整数值的偏移量。

返回

偏移量的特征或 null 的缓存值超过值大小。

属性

注解

适用于 . 的 android.bluetooth.BluetoothGattCharacteristic.getIntValue(int, int)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于