语言

BluetoothGattCharacteristic.GetStringValue(Int32) 方法

定义

返回此特征的存储值。

[Android.Runtime.Register("getStringValue", "(I)Ljava/lang/String;", "GetGetStringValue_IHandler")]
public virtual string? GetStringValue(int offset);
[<Android.Runtime.Register("getStringValue", "(I)Ljava/lang/String;", "GetGetStringValue_IHandler")>]
abstract member GetStringValue : int -> string
override this.GetStringValue : int -> string

参数

offset
Int32

可在其中找到字符串值的偏移量。

返回

特征的缓存值

特性

注解

返回此特征的存储值。

有关详细信息,请参阅#getValue。

此成员已弃用。 用于 BluetoothGatt#readCharacteristic(BluetoothGattCharacteristic) 获取特征值

Java文档android.bluetooth.BluetoothGattCharacteristic.getStringValue(int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于