Companion

object Companion

Functions

Link copied to clipboard
fun getInstance(): Terminal

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

Link copied to clipboard
fun initTerminal(context: Context, logLevel: LogLevel = LogLevel.NONE, tokenProvider: ConnectionTokenProvider, listener: TerminalListener)
fun initTerminal(context: Context, logLevel: LogLevel = LogLevel.NONE, tokenProvider: ConnectionTokenProvider, listener: TerminalListener, offlineListener: OfflineListener?)

Initializes a terminal for the given context.

Link copied to clipboard
fun isInitialized(): Boolean

Returns whether a Terminal instance currently exists.