Sdílet prostřednictvím


BluetoothHidDevice.Callback.OnInterruptData Method

Definition

Callback called when report data is received over interrupt channel.

[Android.Runtime.Register("onInterruptData", "(Landroid/bluetooth/BluetoothDevice;B[B)V", "GetOnInterruptData_Landroid_bluetooth_BluetoothDevice_BarrayBHandler", ApiSince=28)]
public virtual void OnInterruptData (Android.Bluetooth.BluetoothDevice? device, sbyte reportId, byte[]? data);
[<Android.Runtime.Register("onInterruptData", "(Landroid/bluetooth/BluetoothDevice;B[B)V", "GetOnInterruptData_Landroid_bluetooth_BluetoothDevice_BarrayBHandler", ApiSince=28)>]
abstract member OnInterruptData : Android.Bluetooth.BluetoothDevice * sbyte * byte[] -> unit
override this.OnInterruptData : Android.Bluetooth.BluetoothDevice * sbyte * byte[] -> unit

Parameters

reportId
SByte

Report Id.

data
Byte[]

Report data.

Attributes

Remarks

Java documentation for android.bluetooth.BluetoothHidDevice.Callback.onInterruptData(android.bluetooth.BluetoothDevice, byte, byte[]).

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