Enum InitializationState
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum InitializationState extends Enum<InitializationState>
The state of initialization process.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<InitializationState>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETEInitialization is complete. Be aware that it doesn't mean that the SDK is connected. To track the connection state, please use ClientState.connectionState
INITIALIZINGInitialization was requested and should be completed shortly. During this state, the SDK is still not ready to be used.
NOT_INITIALIZEDThe initialization of the SDK was not requested. Use ChatClient.connectUser to start the initialization process.
-
Method Summary
Modifier and Type Method Description final InitializationStatevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<InitializationState>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<InitializationState>getEntries()The state of initialization process. -
-
Method Detail
-
valueOf
final InitializationState valueOf(String value)
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.)
-
values
final Array<InitializationState> values()
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.
-
getEntries
final EnumEntries<InitializationState> getEntries()
The state of initialization process.
-
-
-
-