ConnectionOptions
Types
Link copied to clipboard
data class AutoConnect(val automaticallyRequestHighestValueLength: Boolean = true, val opportunistic: Boolean = false) : CentralManager.ConnectionOptions
Connection using Auto Connect feature.
Link copied to clipboard
Properties
Link copied to clipboard
If true, the manager will automatically request the highest MTU supported by the remote device immediately after establishing the connection.
Link copied to clipboard
Opportunistic connection is available from Android 17 onwards. An opportunistic GATT client does not hold a GATT connection. It automatically disconnects when no other GATT connections are active for the remote device.