BluetoothGattDescriptor.GetValue 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回此描述符的存储值
[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()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。