# ConnectReason

public enum ConnectReason

SDK 连接原因

## Entries

APP_CONNECT
Link copied to clipboard
APP_CONNECT
NETWORK_CHANGE_CONNECT
Link copied to clipboard
NETWORK_CHANGE_CONNECT
FOREGROUND_CONNECT
Link copied to clipboard
FOREGROUND_CONNECT
REDIRECT_CONNECT
Link copied to clipboard
REDIRECT_CONNECT
PING_TIMEOUT_CONNECT
Link copied to clipboard
PING_TIMEOUT_CONNECT
NAVI_TIMEOUT_CONNECT
Link copied to clipboard
NAVI_TIMEOUT_CONNECT
IPC_DISCONNECT
Link copied to clipboard
IPC_DISCONNECT
RTC_FORCE_REFRESH_NAVI
Link copied to clipboard
RTC_FORCE_REFRESH_NAVI
RTC_FORCE_CONNECT
Link copied to clipboard
RTC_FORCE_CONNECT
MSG_RESP_TIMEOUT_CONNECT
Link copied to clipboard
MSG_RESP_TIMEOUT_CONNECT
RTC_VOIP_PUSH
Link copied to clipboard
RTC_VOIP_PUSH
DEVICE_TOKEN
Link copied to clipboard
DEVICE_TOKEN

## Properties

value
Link copied to clipboard
public final int value

## Functions

setValue
Link copied to clipboard
public static IRongCoreEnum.ConnectReason setValue(int value)
valueOf
Link copied to clipboard
public static IRongCoreEnum.ConnectReason 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.)

values
Link copied to clipboard
public static Array<IRongCoreEnum.ConnectReason> 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.