ConnectionStatus

public enum ConnectionStatus extends Enum<ConnectionStatus>

Connection status enum.

Represents the connection status between the SDK and the server.

Parameters

value

Integer value of the status

Entries

Link copied to clipboard

Network unavailable

Link copied to clipboard

Connected

Link copied to clipboard

Connecting

Link copied to clipboard

Disconnected

Link copied to clipboard

Kicked offline by another client

Link copied to clipboard

Token is invalid

Link copied to clipboard

User blocked by admin

Link copied to clipboard

Signed out

Link copied to clipboard

Connection suspended, SDK will auto reconnect when possible

Link copied to clipboard

Connection timeout, SDK will not auto reconnect, user needs to call connectWithToken manually

Link copied to clipboard

Proxy unavailable, SDK will not auto reconnect, user needs to check proxy availability

Link copied to clipboard

User account has been cancelled

Types

Link copied to clipboard
public class Companion

Properties

Link copied to clipboard
private final Integer value

Inherited properties

Link copied to clipboard
private final String name
Link copied to clipboard
private final Integer ordinal

Functions

Link copied to clipboard
public final Integer getValue()
Link copied to clipboard
public final ConnectionStatus 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.)

Link copied to clipboard
public final Array<ConnectionStatus> values()

Returns an array containing the constants of this enum type, in the order they're declared.

Inherited functions

Link copied to clipboard
public final String getName()
Link copied to clipboard
public final Integer getOrdinal()