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

Definizione

Invia report all'host remoto come risposta per GET_REPORT richiesta da 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

Parametri

type
SByte

Tipo di report, come nella richiesta.

id
SByte

ID report, come nella richiesta.

data
Byte[]

Dati del report, non inclusi ID report.

Valori restituiti

true se il comando viene inviato correttamente; in caso contrario false.

Attributi

Commenti

Invia report all'host remoto come risposta per GET_REPORT richiesta da Callback#onGetReport(BluetoothDevice, byte, byte, int).

per android.bluetooth.BluetoothHidDevice.replyReport(android.bluetooth.BluetoothDevice, byte, byte, byte[]).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a