Język

GattConnectionPriority Enum

Definition

Enumerates values returned by several types and taken as a parameter of the F:Android.Bluetooth.BluetoothGatt.RequestConnectionPriority member.

public enum GattConnectionPriority
type GattConnectionPriority = 
Inheritance
GattConnectionPriority

Fields

Name Value Description
Balanced 0

Connection parameter update - Use the connection parameters recommended by the Bluetooth SIG. This is the default value if no connection parameter update is requested.

Android reference for android.bluetooth.BluetoothGatt.CONNECTION_PRIORITY_BALANCED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

High 1

Connection parameter update - Request a high priority, low latency connection. An application should only request high priority connection parameters to transfer large amounts of data over LE quickly. Once the transfer is complete, the application should request BluetoothGatt.CONNECTION_PRIORITY_BALANCED connection parameters to reduce energy use.

Android reference for android.bluetooth.BluetoothGatt.CONNECTION_PRIORITY_HIGH.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

LowPower 2

Connection parameter update - Request low power, reduced data rate connection parameters.

Android reference for android.bluetooth.BluetoothGatt.CONNECTION_PRIORITY_LOW_POWER.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Dck 3

Connection parameter update - Request the priority preferred for Digital Car Key for a lower latency connection. This connection parameter will consume more power than BluetoothGatt.CONNECTION_PRIORITY_BALANCED, so it is recommended that apps do not use this unless it specifically fits their use case.

Android reference for android.bluetooth.BluetoothGatt.CONNECTION_PRIORITY_DCK.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to