语言

BluetoothGattDescriptor.GetValue 方法

定义

返回此描述符的存储值

[Android.Runtime.Register("getValue", "()[B", "GetGetValueHandler")]
public virtual byte[]? GetValue();
[<Android.Runtime.Register("getValue", "()[B", "GetGetValueHandler")>]
abstract member GetValue : unit -> byte[]
override this.GetValue : unit -> byte[]

返回

Byte[]

描述符的缓存值

特性

注解

返回此描述符的存储值

此函数通过调用 BluetoothGatt#readDescriptor返回此描述符的存储值。 描述符的缓存值由于描述符读取操作而更新。

此成员已弃用。 请改用 BluetoothGatt#readDescriptor(BluetoothGattDescriptor)

Java文档android.bluetooth.BluetoothGattDescriptor.getValue()。

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

适用于