BluetoothGattCallback.OnDescriptorRead メソッド

定義

オーバーロード

名前 説明
OnDescriptorRead(BluetoothGatt, BluetoothGattDescriptor, GattStatus, Byte[])

記述子の読み取り操作の結果を報告するコールバック。

OnDescriptorRead(BluetoothGatt, BluetoothGattDescriptor, GattStatus)

記述子の読み取り操作の結果を報告するコールバック。

OnDescriptorRead(BluetoothGatt, BluetoothGattDescriptor, GattStatus, Byte[])

記述子の読み取り操作の結果を報告するコールバック。

[Android.Runtime.Register("onDescriptorRead", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattDescriptor;I[B)V", "GetOnDescriptorRead_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattDescriptor_IarrayBHandler", ApiSince=33)]
public virtual void OnDescriptorRead(Android.Bluetooth.BluetoothGatt gatt, Android.Bluetooth.BluetoothGattDescriptor descriptor, Android.Bluetooth.GattStatus status, byte[] value);
[<Android.Runtime.Register("onDescriptorRead", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattDescriptor;I[B)V", "GetOnDescriptorRead_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattDescriptor_IarrayBHandler", ApiSince=33)>]
abstract member OnDescriptorRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattDescriptor * Android.Bluetooth.GattStatus * byte[] -> unit
override this.OnDescriptorRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattDescriptor * Android.Bluetooth.GattStatus * byte[] -> unit

パラメーター

gatt
BluetoothGatt

GATT クライアントが呼び出されました BluetoothGatt#readDescriptor

descriptor
BluetoothGattDescriptor

関連付けられているリモート デバイスから読み取られた記述子。

status
GattStatus

BluetoothGatt#GATT_SUCCESS 読み取り操作が正常に完了した場合

value
Byte[]

読み取り操作時の記述子値

属性

注釈

記述子の読み取り操作の結果を報告するコールバック。

Javaドキュメント。

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

適用対象

OnDescriptorRead(BluetoothGatt, BluetoothGattDescriptor, GattStatus)

記述子の読み取り操作の結果を報告するコールバック。

[Android.Runtime.Register("onDescriptorRead", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattDescriptor;I)V", "GetOnDescriptorRead_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattDescriptor_IHandler")]
public virtual void OnDescriptorRead(Android.Bluetooth.BluetoothGatt? gatt, Android.Bluetooth.BluetoothGattDescriptor? descriptor, Android.Bluetooth.GattStatus status);
[<Android.Runtime.Register("onDescriptorRead", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattDescriptor;I)V", "GetOnDescriptorRead_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattDescriptor_IHandler")>]
abstract member OnDescriptorRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattDescriptor * Android.Bluetooth.GattStatus -> unit
override this.OnDescriptorRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattDescriptor * Android.Bluetooth.GattStatus -> unit

パラメーター

gatt
BluetoothGatt

GATT クライアントが呼び出されました BluetoothGatt#readDescriptor

descriptor
BluetoothGattDescriptor

関連付けられているリモート デバイスから読み取られた記述子。

status
GattStatus

BluetoothGatt#GATT_SUCCESS 読み取り操作が正常に完了した場合

属性

注釈

記述子の読み取り操作の結果を報告するコールバック。

このメンバーは非推奨です。 BluetoothGattCallback#onDescriptorRead(BluetoothGatt, BluetoothGattDescriptor, int, byte[])は、読み取られた時点で記述子値を指定することで、メモリ セーフであるため使用します。

Javaドキュメント。

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

適用対象