Package io.rong.imlib
Enum HeartBeatManager.PingFailedReason
-
- All Implemented Interfaces:
public enum HeartBeatManager.PingFailedReason
/~chinese 丢失的 pong 超限,前台时为 6 个,后台时为 1 个,发送 ping 时会检测触发
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LOST_PONG_LIMIT
/~english
SERVER_TIMEOUT
/~english
FIRST_PING_TIMEOUT
/~english
RECEIVE_PONG_TIMEOUT
/~english
NO_CONNECTED_FIRST_FOREGROUND
/~english
-
Method Summary
Modifier and Type Method Description static Array<HeartBeatManager.PingFailedReason>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static HeartBeatManager.PingFailedReason
valueOf(String name)
Returns the enum constant of this type with the specified name. -
-
Method Detail
-
values
static Array<HeartBeatManager.PingFailedReason> 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.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static HeartBeatManager.PingFailedReason valueOf(String name)
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.)
- Returns:
the enum constant with the specified name
-
-
-
-