BluetoothGatt.RequestConnectionPriority(GattConnectionPriority) メソッド

定義

接続パラメーターの更新を要求します。

[Android.Runtime.Register("requestConnectionPriority", "(I)Z", "")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public bool RequestConnectionPriority(Android.Bluetooth.GattConnectionPriority connectionPriority);
[<Android.Runtime.Register("requestConnectionPriority", "(I)Z", "")>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.RequestConnectionPriority : Android.Bluetooth.GattConnectionPriority -> bool

パラメーター

connectionPriority
GattConnectionPriority

特定の接続優先度を要求します。 BluetoothGatt#CONNECTION_PRIORITY_BALANCEDBluetoothGatt#CONNECTION_PRIORITY_HIGHBluetoothGatt#CONNECTION_PRIORITY_LOW_POWER、またはBluetoothGatt#CONNECTION_PRIORITY_DCKのいずれかである必要があります。

返品

属性

例外

パラメーターが指定した範囲外の場合。

注釈

接続パラメーターの更新を要求します。

この関数は、接続パラメーターの更新要求をリモート デバイスに送信します。

Javaドキュメント。

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

適用対象