public static enum YouTubeQuery.SafeSearch extends Enum<YouTubeQuery.SafeSearch>
safeSearch parameter.| Modifier and Type | Method and Description |
|---|---|
static YouTubeQuery.SafeSearch |
fromParameterValue(String value) |
String |
toParameterValue()
Returns the corresponding parameter value.
|
static YouTubeQuery.SafeSearch |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YouTubeQuery.SafeSearch[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YouTubeQuery.SafeSearch NONE
public static final YouTubeQuery.SafeSearch MODERATE
public static final YouTubeQuery.SafeSearch STRICT
public static YouTubeQuery.SafeSearch[] values()
for (YouTubeQuery.SafeSearch c : YouTubeQuery.SafeSearch.values()) System.out.println(c);
public static YouTubeQuery.SafeSearch valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String toParameterValue()
public static YouTubeQuery.SafeSearch fromParameterValue(String value)
Copyright © 2012. All Rights Reserved.