BluetoothGattCharacteristic.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[]

特征的缓存值

属性

注解

适用于 . 的 android.bluetooth.BluetoothGattCharacteristic.getValue()Java 文档

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

适用于