BluetoothHidDevice.Callback.OnSetReport Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Rappel appelé lorsque SET_REPORT est reçu de l’hôte distant.
[Android.Runtime.Register("onSetReport", "(Landroid/bluetooth/BluetoothDevice;BB[B)V", "GetOnSetReport_Landroid_bluetooth_BluetoothDevice_BBarrayBHandler", ApiSince=28)]
public virtual void OnSetReport(Android.Bluetooth.BluetoothDevice? device, sbyte type, sbyte id, byte[]? data);
[<Android.Runtime.Register("onSetReport", "(Landroid/bluetooth/BluetoothDevice;BB[B)V", "GetOnSetReport_Landroid_bluetooth_BluetoothDevice_BBarrayBHandler", ApiSince=28)>]
abstract member OnSetReport : Android.Bluetooth.BluetoothDevice * sbyte * sbyte * byte[] -> unit
override this.OnSetReport : Android.Bluetooth.BluetoothDevice * sbyte * sbyte * byte[] -> unit
Paramètres
- device
- BluetoothDevice
- type
- SByte
Type de rapport.
- id
- SByte
ID de rapport.
- data
- Byte[]
Données du rapport.
- Attributs
Remarques
Rappel appelé lorsque SET_REPORT est reçu de l’hôte distant. Si les données reçues ne sont pas valides, l’application doit répondre avec BluetoothHidDevice#reportError(BluetoothDevice, byte).
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.