# SubscribeType

public enum SubscribeType

订阅类型

## Entries

ONLINE_STATUS
Link copied to clipboard
ONLINE_STATUS

订阅在线状态

USER_PROFILE
Link copied to clipboard
USER_PROFILE

订阅用户信息变更（用户信息）

FRIEND_ONLINE_STATUS
Link copied to clipboard
FRIEND_ONLINE_STATUS

好友在线状态（好友无需主动订阅）

FRIEND_USER_PROFILE
Link copied to clipboard
FRIEND_USER_PROFILE

好友用户信息变更（好友无需主动订阅）

## Properties

type
Link copied to clipboard
public int type

## Functions

getType
Link copied to clipboard
public int getType()
valueOf
Link copied to clipboard
public static SubscribeEvent.SubscribeType valueOf(int type)
public static SubscribeEvent.SubscribeType 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<SubscribeEvent.SubscribeType> 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.