BluetoothGatt.ReadDescriptor(BluetoothGattDescriptor) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Reads the value for a given descriptor from the associated remote device.
Once the read operation has been completed, the BluetoothGattCallback#onDescriptorRead
callback is triggered, signaling the result of the operation.
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.