initTerminal

fun initTerminal(tokenProvider: ConnectionTokenProvider, listener: TerminalListener, appInfo: ApplicationInformation, logLevel: LogLevel = LogLevel.VERBOSE, offlineListener: OfflineListener?)

Initializes a terminal for the given context.

Parameters

tokenProvider

The ConnectionTokenProvider to use when a new token is needed

listener

The TerminalListener to inform of events in the Terminal lifecycle

appInfo

The ApplicationInformation used to identify your application and configure the SDK.

logLevel

The level of logging verbosity to use in this Terminal instance