LoadingState

LoadingState

enum LoadingState : Enum<LoadingState>

Contains the different loading states a Source can be in.

Entries

UnloadedUnloaded
The source is unloaded.
LoadingLoading
The source is currently loading.
LoadedLoaded
The source is loaded.

Properties

NameSummary
entriesval entries: EnumEntries<LoadingState>
Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

NameSummary
valueOffun valueOf(value: String): LoadingState
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.)
valuesfun values(): Array<LoadingState>
Returns an array containing the constants of this enum type, in the order they're declared.