ConnectionOptions

sealed class ConnectionOptions

Android-specific connection options.

Inheritors

Types

Link copied to clipboard
data class AutoConnect(val automaticallyRequestHighestValueLength: Boolean = false) : CentralManager.ConnectionOptions

Connection using Auto Connect feature.

Link copied to clipboard
object Companion
Link copied to clipboard
data class Direct(val timeout: Duration = 10.seconds, val retry: Int = 2, val retryDelay: Duration = 300.milliseconds, val preferredPhy: List<Phy> = listOf(Phy.PHY_LE_1M), val automaticallyRequestHighestValueLength: Boolean = false) : CentralManager.ConnectionOptions

Connection options for direct connection.

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.