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
fun init(context: Context, logLevel: LogLevel = LogLevel.NONE, tokenProvider: ConnectionTokenProvider, listener: TerminalListener, offlineListener: OfflineListener?)
@JvmStatic
fun init(context: Context, logLevel: LogLevel = LogLevel.NONE, tokenProvider: ConnectionTokenProvider, listener: TerminalListener, offlineListener: OfflineListener?, localeConfig: LocaleConfig)

Initializes a terminal for the given context.

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

Returns whether a Terminal instance currently exists.