語言

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()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於