BluetoothHidDevice.ReplyReport(BluetoothDevice, SByte, SByte, Byte[]) Methode

Definition

Sendet bericht an Remotehost als Antwort für GET_REPORT Anforderung von Callback#onGetReport(BluetoothDevice, byte, byte, int).

[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

Parameter

type
SByte

Berichtstyp, wie in Anforderung.

id
SByte

Berichts-ID, wie in Anforderung.

data
Byte[]

Berichtsdaten, nicht einschließlich Berichts-ID.

Gibt zurück

true, wenn der Befehl erfolgreich gesendet wird; andernfalls "false".

Attribute

Hinweise

Sendet bericht an Remotehost als Antwort für GET_REPORT Anforderung von Callback#onGetReport(BluetoothDevice, byte, byte, int).

Java Dokumentation für android.bluetooth.BluetoothHidDevice.replyReport(android.bluetooth.BluetoothDevice, byte, byte, byte[]).

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: