BluetoothHidDevice.Callback.OnGetReport Method

Definition

Callback called when GET_REPORT is received from remote host.

[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

Parameters

type
SByte

Requested Report Type.

id
SByte

Requested Report Id, can be 0 if no Report Id are defined in descriptor.

bufferSize
Int32

Requested buffer size, application shall respond with at least given number of bytes.

Attributes

Remarks

Java documentation for android.bluetooth.BluetoothHidDevice.Callback.onGetReport(android.bluetooth.BluetoothDevice, byte, byte, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to