BleGattConnectionPriority

Class representing available connection priorities. Selecting a specific mode will affect two parameters: latency and power consumption.

Entries

Link copied to clipboard

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

Link copied to clipboard

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 BALANCED connection parameters to reduce energy use.

Link copied to clipboard

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

Link copied to clipboard

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

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val value: Int

Native Android API value.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.