다음을 통해 공유


BluetoothGattDescriptor.GetValue Method

Definition

Returns the stored value for this descriptor

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

Returns

Byte[]

Cached value of the descriptor

Attributes

Remarks

Returns the stored value for this descriptor

This function returns the stored value for this descriptor as retrieved by calling BluetoothGatt#readDescriptor. The cached value of the descriptor is updated as a result of a descriptor read operation.

This member is deprecated. Use BluetoothGatt#readDescriptor(BluetoothGattDescriptor) instead

Java documentation for android.bluetooth.BluetoothGattDescriptor.getValue().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to