BluetoothHidDevice.ReportError(BluetoothDevice, SByte) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sends error handshake message as reply for invalid SET_REPORT request from 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
Parameters
- device
- BluetoothDevice
- error
- SByte
Error to be sent for SET_REPORT via HANDSHAKE.
Returns
true if the command is successfully sent; otherwise false.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.