BluetoothHidDevice.ReplyReport(BluetoothDevice, SByte, SByte, Byte[]) Método

Definición

Envía un informe al host remoto como respuesta para GET_REPORT solicitud de 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

Parámetros

type
SByte

Tipo de informe, como en la solicitud.

id
SByte

Id. de informe, como en la solicitud.

data
Byte[]

Datos de informe, no incluidos el identificador de informe.

Devoluciones

true si el comando se envía correctamente; de lo contrario, false.

Atributos

Comentarios

Envía un informe al host remoto como respuesta para GET_REPORT solicitud de Callback#onGetReport(BluetoothDevice, byte, byte, int).

Java documentación para android.bluetooth.BluetoothHidDevice.replyReport(android.bluetooth.BluetoothDevice, byte, byte, byte[]).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a