Ping Failed Reason
Entries
Lost pong limit exceeded: 6 in the foreground, 1 in the background. Triggered when sending a ping.
Server timeout exceeded. When returning from the background to the foreground, calculate the difference between the last received pong time and the current time. If it exceeds the configured time, the user is considered offline.
Triggered when the difference between the time of receiving a pong and the first ping in the queue exceeds the timeout threshold. The condition is similar to LOST_PONG_LIMIT, but the triggering timing is different.
The app returns to the foreground, but it is not in the CONNECTED state, triggering a reconnection
Functions
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 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.