Sdílet prostřednictvím


BluetoothGatt.ReadDescriptor(BluetoothGattDescriptor) Method

Definition

Reads the value for a given descriptor from the associated remote device.

[Android.Runtime.Register("readDescriptor", "(Landroid/bluetooth/BluetoothGattDescriptor;)Z", "")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public bool ReadDescriptor (Android.Bluetooth.BluetoothGattDescriptor? descriptor);
[<Android.Runtime.Register("readDescriptor", "(Landroid/bluetooth/BluetoothGattDescriptor;)Z", "")>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.ReadDescriptor : Android.Bluetooth.BluetoothGattDescriptor -> bool

Parameters

descriptor
BluetoothGattDescriptor

Descriptor value to read from the remote device

Returns

true, if the read operation was initiated successfully

Attributes

Remarks

Java documentation for android.bluetooth.BluetoothGatt.readDescriptor(android.bluetooth.BluetoothGattDescriptor).

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