BluetoothHidDevice.ReportError(BluetoothDevice, SByte) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
Callback#onSetReport(BluetoothDevice, byte, byte, byte[])からの無効なSET_REPORT要求の応答としてエラー ハンドシェイク メッセージを送信します。
[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
パラメーター
- device
- BluetoothDevice
- error
- SByte
ハンドシェイク経由でSET_REPORTに送信されるエラー。
返品
コマンドが正常に送信された場合は true。それ以外の場合は false。
- 属性
注釈
Callback#onSetReport(BluetoothDevice, byte, byte, byte[])からの無効なSET_REPORT要求の応答としてエラー ハンドシェイク メッセージを送信します。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。