ConnectionPriority

enum ConnectionPriority : Enum<ZTBleConnection.ConnectionPriority>

Entries

CONNECTION_PRIORITY_BALANCED
Link copied to clipboard
@RequiresApi(value = 21)
CONNECTION_PRIORITY_BALANCED(BluetoothGatt.CONNECTION_PRIORITY_BALANCED)
min interval 30 ms, max interval 50 ms, slave latency 0
CONNECTION_PRIORITY_HIGH
Link copied to clipboard
@RequiresApi(value = 21)
CONNECTION_PRIORITY_HIGH(BluetoothGatt.CONNECTION_PRIORITY_HIGH)
min interval 7.
CONNECTION_PRIORITY_LOW_POWER
Link copied to clipboard
@RequiresApi(value = 21)
CONNECTION_PRIORITY_LOW_POWER(BluetoothGatt.CONNECTION_PRIORITY_LOW_POWER)
min interval 100ms, max interval 125 ms, slave latency 2

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int
priority
Link copied to clipboard
val priority: Int