Lingua

BluetoothHidDevice.ReportError(BluetoothDevice, SByte) Metodo

Definizione

Invia il messaggio di handshake di errore come risposta per la richiesta di SET_REPORT non valida da Callback#onSetReport(BluetoothDevice, byte, byte, byte[]).

[Android.Runtime.Register("reportError", "(Landroid/bluetooth/BluetoothDevice;B)Z", "", ApiSince=28)]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public bool ReportError(Android.Bluetooth.BluetoothDevice? device, sbyte error);
[<Android.Runtime.Register("reportError", "(Landroid/bluetooth/BluetoothDevice;B)Z", "", ApiSince=28)>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.ReportError : Android.Bluetooth.BluetoothDevice * sbyte -> bool

Parametri

error
SByte

Errore da inviare per SET_REPORT tramite HANDSHAKE.

Valori restituiti

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

Attributi

Commenti

Invia il messaggio di handshake di errore come risposta per la richiesta di SET_REPORT non valida da Callback#onSetReport(BluetoothDevice, byte, byte, byte[]).

per android.bluetooth.BluetoothHidDevice.reportError(android.bluetooth.BluetoothDevice, 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