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

属性

注釈

関連付けられているリモート デバイスから特定の記述子の値を読み取ります。

読み取り操作が完了すると、 BluetoothGattCallback#onDescriptorRead コールバックがトリガーされ、操作の結果が通知されます。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象