AreaCode enum

The region for connection, which is the region where the server the SDK connects to is located.

Inheritance

Constructors

AreaCode()
const

Values

CN → const AreaCode

Mainland China.

NA → const AreaCode

North America.

EU → const AreaCode

Europe.

AS → const AreaCode

Asia, excluding Mainland China.

JP → const AreaCode

Japan.

IN → const AreaCode

India.

GLOB → const AreaCode

(Default) Global.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<AreaCode>
A constant List of the values in this enum, in order of their declaration.