|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<SubscriptionEntry.Type>
com.google.gdata.data.youtube.SubscriptionEntry.Type
public static enum SubscriptionEntry.Type
Subscription types. More types will appear over time.
| Enum Constant Summary | |
|---|---|
CHANNEL
|
|
FAVORITES
|
|
PLAYLIST
|
|
QUERY
|
|
| Method Summary | |
|---|---|
static SubscriptionEntry.Type |
fromTerm(java.lang.String term)
Given a term of a category with scheme YouTubeNamespace.KIND_SUBSCRIPTION, look for
the corresponding Type enum value. |
java.lang.String |
getTerm()
Gets the category term corresponding to this subscription type. |
static SubscriptionEntry.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SubscriptionEntry.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 SubscriptionEntry.Type CHANNEL
public static final SubscriptionEntry.Type FAVORITES
public static final SubscriptionEntry.Type QUERY
public static final SubscriptionEntry.Type PLAYLIST
| Method Detail |
|---|
public static SubscriptionEntry.Type[] values()
for (SubscriptionEntry.Type c : SubscriptionEntry.Type.values()) System.out.println(c);
public static SubscriptionEntry.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 SubscriptionEntry.Type fromTerm(java.lang.String term)
YouTubeNamespace.KIND_SUBSCRIPTION, 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 | ||||||||