connect
suspend fun Flow<ConnectableDevice?>.connect(reconnectionSettings: ConnectionSettings.ReconnectionSettings? = null): Boolean
Attempts to connect to the ConnectableDevice from a Flow of ConnectableDevice When this method completes, the devices should be in a ConnectableDeviceState.Connected state
Return
true if connection was successful
Parameters
reconnectionSettings
the ConnectionSettings.ReconnectionSettings to use if the ConnectableDevice disconnects after connecting. If null the default will be used.