public static enum UserEventEntry.Type extends java.lang.Enum<UserEventEntry.Type>
Enum Constant and Description |
---|
FRIEND_ADDED |
USER_SUBSCRIPTION_ADDED |
VIDEO_COMMENTED |
VIDEO_FAVORITED |
VIDEO_RATED |
VIDEO_SHARED |
VIDEO_UPLOADED |
Modifier and Type | Method and Description |
---|---|
static UserEventEntry.Type |
fromTerm(java.lang.String term)
Given a term of a category with scheme
YouTubeNamespace.KIND_USER_EVENT , look for
the corresponding Type enum value. |
java.lang.String |
getTerm()
Gets the category term corresponding to this user event type
|
static UserEventEntry.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UserEventEntry.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserEventEntry.Type VIDEO_UPLOADED
public static final UserEventEntry.Type VIDEO_RATED
public static final UserEventEntry.Type VIDEO_FAVORITED
public static final UserEventEntry.Type VIDEO_SHARED
public static final UserEventEntry.Type VIDEO_COMMENTED
public static final UserEventEntry.Type USER_SUBSCRIPTION_ADDED
public static final UserEventEntry.Type FRIEND_ADDED
public static UserEventEntry.Type[] values()
for (UserEventEntry.Type c : UserEventEntry.Type.values()) System.out.println(c);
public static UserEventEntry.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getTerm()
public static UserEventEntry.Type fromTerm(java.lang.String term)
YouTubeNamespace.KIND_USER_EVENT
, look for
the corresponding Type
enum value.