Companion

object Companion

Functions

Link copied to clipboard
@JvmStatic
fun getInstance(): Terminal

Returns the current instance of the Terminal object. This instance should have been initialized already by calling init.

Link copied to clipboard
@JvmStatic
@JvmOverloads
fun init(tokenProvider: ConnectionTokenProvider, listener: TerminalListener, appInfo: ApplicationInformation, logLevel: LogLevel = LogLevel.VERBOSE, offlineListener: OfflineListener?, encryptionProvider: EncryptionProvider? = null)

Initializes a terminal for the given context.

Link copied to clipboard
@JvmStatic
fun isInitialized(): Boolean

Returns whether a Terminal instance currently exists.