BluetoothHidDevice.Callback.OnGetReport メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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
パラメーター
- device
- BluetoothDevice
- type
- SByte
要求されたレポートの種類。
- id
- SByte
要求されたレポート ID。記述子でレポート ID が定義されていない場合は 0 にすることができます。
- bufferSize
- Int32
要求されたバッファー サイズ。アプリケーションは、少なくとも指定されたバイト数で応答します。
- 属性
注釈
GET_REPORTがリモート ホストから受信されたときに呼び出されるコールバック。
BluetoothHidDevice#replyReport(BluetoothDevice, byte, byte, byte[])を使用してアプリケーションで応答する必要があります。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。