public enum ContentLabelType extends Enum<ContentLabelType>
Java class for ContentLabelType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ContentLabelType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="ADULTISH"/>
<enumeration value="BELOW_THE_FOLD"/>
<enumeration value="DP"/>
<enumeration value="EMBEDDED_VIDEO"/>
<enumeration value="GAMES"/>
<enumeration value="JUVENILE"/>
<enumeration value="PROFANITY"/>
<enumeration value="TRAGEDY"/>
<enumeration value="VIDEO"/>
<enumeration value="VIDEO_RATING_DV_G"/>
<enumeration value="VIDEO_RATING_DV_PG"/>
<enumeration value="VIDEO_RATING_DV_T"/>
<enumeration value="VIDEO_RATING_DV_MA"/>
<enumeration value="VIDEO_NOT_YET_RATED"/>
<enumeration value="LIVE_STREAMING_VIDEO"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ADULTISH
Sexually suggestive content
|
BELOW_THE_FOLD
Below the fold placements
|
DP
Parked domains
|
EMBEDDED_VIDEO
Embedded video
|
GAMES
Games
|
JUVENILE
Sensational & shocking
|
LIVE_STREAMING_VIDEO
Live streaming video
|
PROFANITY
Profanity & rough language
|
TRAGEDY
Tragedy & conflict
|
UNKNOWN
Used for return value only.
|
VIDEO
Video
|
VIDEO_NOT_YET_RATED
Content rating: not yet rated
|
VIDEO_RATING_DV_G
Content rating: G
|
VIDEO_RATING_DV_MA
Content rating: MA
|
VIDEO_RATING_DV_PG
Content rating: PG
|
VIDEO_RATING_DV_T
Content rating: T
|
| Modifier and Type | Method and Description |
|---|---|
static ContentLabelType |
fromValue(String v) |
String |
value() |
static ContentLabelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentLabelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentLabelType ADULTISH
public static final ContentLabelType BELOW_THE_FOLD
public static final ContentLabelType DP
public static final ContentLabelType EMBEDDED_VIDEO
public static final ContentLabelType GAMES
public static final ContentLabelType JUVENILE
public static final ContentLabelType PROFANITY
public static final ContentLabelType TRAGEDY
public static final ContentLabelType VIDEO
public static final ContentLabelType VIDEO_RATING_DV_G
public static final ContentLabelType VIDEO_RATING_DV_PG
public static final ContentLabelType VIDEO_RATING_DV_T
public static final ContentLabelType VIDEO_RATING_DV_MA
public static final ContentLabelType VIDEO_NOT_YET_RATED
public static final ContentLabelType LIVE_STREAMING_VIDEO
public static final ContentLabelType UNKNOWN
public static ContentLabelType[] values()
for (ContentLabelType c : ContentLabelType.values()) System.out.println(c);
public static ContentLabelType 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 value()
public static ContentLabelType fromValue(String v)
Copyright © 2023. All rights reserved.