Condividi tramite


BluetoothGattDescriptor.SetValue(Byte[]) Method

Definition

Updates the locally stored value of this descriptor.

[Android.Runtime.Register("setValue", "([B)Z", "GetSetValue_arrayBHandler")]
public virtual bool SetValue (byte[]? value);
[<Android.Runtime.Register("setValue", "([B)Z", "GetSetValue_arrayBHandler")>]
abstract member SetValue : byte[] -> bool
override this.SetValue : byte[] -> bool

Parameters

value
Byte[]

New value for this descriptor

Returns

true if the locally stored value has been set, false if the requested value could not be stored locally.

Attributes

Remarks

Java documentation for android.bluetooth.BluetoothGattDescriptor.setValue(byte[]).

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