State

enum State

State methods.

The states are ordered so that a state with lower ordinal value always contain all states with higher ordinal value.

Entries

Link copied to clipboard
Link copied to clipboard

Background.

Link copied to clipboard

Inactive.

Link copied to clipboard

Active.

Functions

Link copied to clipboard
Get the current state.
Link copied to clipboard
open fun is(@NonNull state: Instance.State): Boolean
Check whether a state is at least another state.
Link copied to clipboard
Is the SDK terminated?
Link copied to clipboard
Is the SDK terminating?
Link copied to clipboard
Link copied to clipboard
open fun respawn()
Respawn the SDK.
Link copied to clipboard
open fun valueOf(name: String): Instance.State

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.