BluetoothHidDevice.ReplyReport(BluetoothDevice, SByte, SByte, Byte[]) メソッド

定義

Callback#onGetReport(BluetoothDevice, byte, byte, int)からのGET_REPORT要求の応答としてリモート ホストにレポートを送信します。

[Android.Runtime.Register("replyReport", "(Landroid/bluetooth/BluetoothDevice;BB[B)Z", "", ApiSince=28)]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public bool ReplyReport(Android.Bluetooth.BluetoothDevice? device, sbyte type, sbyte id, byte[]? data);
[<Android.Runtime.Register("replyReport", "(Landroid/bluetooth/BluetoothDevice;BB[B)Z", "", ApiSince=28)>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.ReplyReport : Android.Bluetooth.BluetoothDevice * sbyte * sbyte * byte[] -> bool

パラメーター

type
SByte

要求に応じて、レポートの種類。

id
SByte

要求に応じて、レポート ID。

data
Byte[]

レポート ID を含まないレポート データ。

返品

コマンドが正常に送信された場合は true。それ以外の場合は false。

属性

注釈

Callback#onGetReport(BluetoothDevice, byte, byte, int)からのGET_REPORT要求の応答としてリモート ホストにレポートを送信します。

Javaドキュメント。

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

適用対象