|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<UserEventEntry.Type>
com.google.gdata.data.youtube.UserEventEntry.Type
public static enum UserEventEntry.Type
User event types. More types will appear over time.
Enum Constant Summary | |
---|---|
FRIEND_ADDED
|
|
USER_SUBSCRIPTION_ADDED
|
|
VIDEO_COMMENTED
|
|
VIDEO_FAVORITED
|
|
VIDEO_RATED
|
|
VIDEO_SHARED
|
|
VIDEO_UPLOADED
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
java.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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |