BluetoothHidDevice.RegisterApp メソッド

定義

HID デバイスに使用するアプリケーションを登録します。

[Android.Runtime.Register("registerApp", "(Landroid/bluetooth/BluetoothHidDeviceAppSdpSettings;Landroid/bluetooth/BluetoothHidDeviceAppQosSettings;Landroid/bluetooth/BluetoothHidDeviceAppQosSettings;Ljava/util/concurrent/Executor;Landroid/bluetooth/BluetoothHidDevice$Callback;)Z", "", ApiSince=28)]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public bool RegisterApp(Android.Bluetooth.BluetoothHidDeviceAppSdpSettings? sdp, Android.Bluetooth.BluetoothHidDeviceAppQosSettings? inQos, Android.Bluetooth.BluetoothHidDeviceAppQosSettings? outQos, Java.Util.Concurrent.IExecutor? executor, Android.Bluetooth.BluetoothHidDevice.Callback? callback);
[<Android.Runtime.Register("registerApp", "(Landroid/bluetooth/BluetoothHidDeviceAppSdpSettings;Landroid/bluetooth/BluetoothHidDeviceAppQosSettings;Landroid/bluetooth/BluetoothHidDeviceAppQosSettings;Ljava/util/concurrent/Executor;Landroid/bluetooth/BluetoothHidDevice$Callback;)Z", "", ApiSince=28)>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.RegisterApp : Android.Bluetooth.BluetoothHidDeviceAppSdpSettings * Android.Bluetooth.BluetoothHidDeviceAppQosSettings * Android.Bluetooth.BluetoothHidDeviceAppQosSettings * Java.Util.Concurrent.IExecutor * Android.Bluetooth.BluetoothHidDevice.Callback -> bool

パラメーター

sdp
BluetoothHidDeviceAppSdpSettings

BluetoothHidDeviceAppSdpSettings HID デバイス SDP レコードのオブジェクト。 HID デバイス SDP レコードが必要です。

inQos
BluetoothHidDeviceAppQosSettings

BluetoothHidDeviceAppQosSettings 受信 QoS 設定のオブジェクト。 着信 QoS 設定は必要ありません。 既定値には、null または既定の BluetoothHidDeviceAppQosSettings.Builder を使用します。

outQos
BluetoothHidDeviceAppQosSettings

BluetoothHidDeviceAppQosSettings 送信 QoS 設定のオブジェクト。 発信 QoS 設定は必要ありません。 既定値には、null または既定の BluetoothHidDeviceAppQosSettings.Builder を使用します。

executor
IExecutor

Executor コールバックが実行されるオブジェクト。 Executor オブジェクトが必要です。

callback
BluetoothHidDevice.Callback

Callback コールバック メッセージが送信されるオブジェクト。 Callback オブジェクトが必要です。

返品

コマンドが正常に送信された場合は true。それ以外の場合は false。

属性

注釈

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象