Поделиться через


BluetoothGatt.ReadDescriptor(BluetoothGattDescriptor) Метод

Определение

Считывает значение для заданного дескриптора из связанного удаленного устройства.

[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

Параметры

descriptor
BluetoothGattDescriptor

Значение дескриптора для чтения с удаленного устройства

Возвращаемое значение

Значение true, если операция чтения была успешно инициирована

Атрибуты

Комментарии

Документация по Java для android.bluetooth.BluetoothGatt.readDescriptor(android.bluetooth.BluetoothGattDescriptor).

Части этой страницы — это изменения на основе работы, созданной и общей проектом с открытым исходным кодом Android и используемой в соответствии с условиями, описанными в лицензии Creative Commons 2.5 Attribution.

Применяется к