ConnectionState

Enumerates the states of the SDK's connection with Rainbow Cloud Services.

Entries

Link copied to clipboard

Represents a disconnected state of the SDK.

Link copied to clipboard

Indicates that the SDK is in the process of authentication.

Link copied to clipboard

Indicates that the SDK has successfully authenticated with the server.

Link copied to clipboard

Represents the state where the SDK is ready for use.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int

Functions

Link copied to clipboard
fun isAtLeastAuthenticated(): Boolean

Checks if the SDK is at least in the AUTHENTICATED state.

Link copied to clipboard
fun isAuthenticated(): Boolean

Checks if the SDK is in the AUTHENTICATED state.

Link copied to clipboard
fun isAuthenticating(): Boolean

Checks if the SDK is in the AUTHENTICATING state.

Link copied to clipboard
fun isDisconnected(): Boolean

Checks if the SDK is in the DISCONNECTED state.

Link copied to clipboard
fun isReady(): Boolean

Checks if the SDK is in the READY state.

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.