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.
Functions
Link copied to clipboard
Get the current state.
Link copied to clipboard
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
open fun requestTermination(timeoutMillis: Long, @NonNull callback: OnTerminatedCallback): NativeHandle
Request SDK to terminate.
Link copied to clipboard
Respawn the SDK.
Link copied to clipboard
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.