BluetoothHidDevice.RegisterApp メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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
パラメーター
BluetoothHidDeviceAppSdpSettings HID デバイス SDP レコードのオブジェクト。 HID デバイス SDP レコードが必要です。
BluetoothHidDeviceAppQosSettings 受信 QoS 設定のオブジェクト。 着信 QoS 設定は必要ありません。 既定値には、null または既定の BluetoothHidDeviceAppQosSettings.Builder を使用します。
BluetoothHidDeviceAppQosSettings 送信 QoS 設定のオブジェクト。 発信 QoS 設定は必要ありません。 既定値には、null または既定の BluetoothHidDeviceAppQosSettings.Builder を使用します。
- executor
- IExecutor
Executor コールバックが実行されるオブジェクト。 Executor オブジェクトが必要です。
- callback
- BluetoothHidDevice.Callback
Callback コールバック メッセージが送信されるオブジェクト。 Callback オブジェクトが必要です。
返品
コマンドが正常に送信された場合は true。それ以外の場合は false。
- 属性
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。