BluetoothHidDevice.Callback.OnGetReport メソッド

定義

GET_REPORTがリモート ホストから受信されたときに呼び出されるコールバック。

[Android.Runtime.Register("onGetReport", "(Landroid/bluetooth/BluetoothDevice;BBI)V", "GetOnGetReport_Landroid_bluetooth_BluetoothDevice_BBIHandler", ApiSince=28)]
public virtual void OnGetReport(Android.Bluetooth.BluetoothDevice? device, sbyte type, sbyte id, int bufferSize);
[<Android.Runtime.Register("onGetReport", "(Landroid/bluetooth/BluetoothDevice;BBI)V", "GetOnGetReport_Landroid_bluetooth_BluetoothDevice_BBIHandler", ApiSince=28)>]
abstract member OnGetReport : Android.Bluetooth.BluetoothDevice * sbyte * sbyte * int -> unit
override this.OnGetReport : Android.Bluetooth.BluetoothDevice * sbyte * sbyte * int -> unit

パラメーター

type
SByte

要求されたレポートの種類。

id
SByte

要求されたレポート ID。記述子でレポート ID が定義されていない場合は 0 にすることができます。

bufferSize
Int32

要求されたバッファー サイズ。アプリケーションは、少なくとも指定されたバイト数で応答します。

属性

注釈

GET_REPORTがリモート ホストから受信されたときに呼び出されるコールバック。 BluetoothHidDevice#replyReport(BluetoothDevice, byte, byte, byte[])を使用してアプリケーションで応答する必要があります。

Javaドキュメント。

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

適用対象