BluetoothHidDevice.Callback.OnInterruptData 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當中斷通道接收報告資料時,回調呼叫。
[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
參數
- device
- BluetoothDevice
- reportId
- SByte
報告標識碼。
- data
- Byte[]
報告資料。
- 屬性
備註
當中斷通道接收報告資料時,回調呼叫。 報告類型假設為 BluetoothHidDevice#REPORT_TYPE_OUTPUT。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。