다음을 통해 공유


BluetoothHidDevice.ReportError(BluetoothDevice, SByte) 메서드

정의

에서 잘못된 SET_REPORT 요청에 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

매개 변수

error
SByte

HANDSHAKE를 통해 SET_REPORT 위해 보내는 오류입니다.

반환

명령을 성공적으로 보내면 true입니다. 그렇지 않으면 false입니다.

특성

설명

에 대한 android.bluetooth.BluetoothHidDevice.reportError(android.bluetooth.BluetoothDevice, byte)Java 설명서

이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.

적용 대상