ConnectionSettings

data class ConnectionSettings(val reconnectionSettings: ConnectionSettings.ReconnectionSettings = ReconnectionSettings.Always, val logger: Logger = RestrictedLogger(RestrictedLogLevel.None))

Settings to apply to a Device when connecting

Constructors

Link copied to clipboard
constructor(reconnectionSettings: ConnectionSettings.ReconnectionSettings = ReconnectionSettings.Always, logger: Logger = RestrictedLogger(RestrictedLogLevel.None))

Types

Link copied to clipboard

Behaviour to apply when a Device disconnects unexpectedly

Properties

Link copied to clipboard

the Logger to use for logging