ConnectionSessionDriver
class ConnectionSessionDriver(transport: BleTransport, scope: CoroutineScope, random: EucRandom, now: () -> Long, stateChanged: (BLEConstants.ConnectionState) -> Unit, error: (String, Boolean) -> Unit)(source)
Only coroutine scheduling and transport effects; lifecycle policy lives in ConnectionSession.
Constructors
Link copied to clipboard
constructor(transport: BleTransport, scope: CoroutineScope, random: EucRandom, now: () -> Long, stateChanged: (BLEConstants.ConnectionState) -> Unit, error: (String, Boolean) -> Unit)