BluetoothHidDevice.Callback.OnSetReport メソッド

定義

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

[Android.Runtime.Register("onSetReport", "(Landroid/bluetooth/BluetoothDevice;BB[B)V", "GetOnSetReport_Landroid_bluetooth_BluetoothDevice_BBarrayBHandler", ApiSince=28)]
public virtual void OnSetReport(Android.Bluetooth.BluetoothDevice? device, sbyte type, sbyte id, byte[]? data);
[<Android.Runtime.Register("onSetReport", "(Landroid/bluetooth/BluetoothDevice;BB[B)V", "GetOnSetReport_Landroid_bluetooth_BluetoothDevice_BBarrayBHandler", ApiSince=28)>]
abstract member OnSetReport : Android.Bluetooth.BluetoothDevice * sbyte * sbyte * byte[] -> unit
override this.OnSetReport : Android.Bluetooth.BluetoothDevice * sbyte * sbyte * byte[] -> unit

パラメーター

type
SByte

レポートの種類。

id
SByte

レポート ID。

data
Byte[]

レポートデータ。

属性

注釈

SET_REPORTがリモート ホストから受信されたときに呼び出されるコールバック。 受信したデータが無効な場合、アプリケーションは BluetoothHidDevice#reportError(BluetoothDevice, byte)で応答するものとします。

Javaドキュメント。

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

適用対象