Enum Class ContentClassification
- All Implemented Interfaces:
Serializable
,Comparable<ContentClassification>
,Constable
Content classification tags that indicate that a stream may not be suitable for certain viewers.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionExcessive tobacco glorification or promotion, any marijuana consumption/use, legal drug and alcohol induced intoxication, discussions of illegal drugs.Participating in online or in-person gambling, poker or fantasy sports, that involve the exchange of real money.Games that are rated Mature or less suitable for a younger audience.Prolonged, and repeated use of obscenities, profanities, and vulgarities, especially as a regular part of speech.Content that focuses on sexualized physical attributes and activities, sexual topics, or experiences.The channel has a content classification label that is unrecognized by the library; Please file an issue on our GitHub repository.Simulations and/or depictions of realistic violence, gore, extreme injury, or death. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull ContentClassification
toString()
static ContentClassification
Returns the enum constant of this class with the specified name.static ContentClassification[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DRUGS
Excessive tobacco glorification or promotion, any marijuana consumption/use, legal drug and alcohol induced intoxication, discussions of illegal drugs. -
GAMBLING
Participating in online or in-person gambling, poker or fantasy sports, that involve the exchange of real money. -
MATURE_GAME
Games that are rated Mature or less suitable for a younger audience.This tag is automatically applied based on the stream category.
-
PROFANITY
Prolonged, and repeated use of obscenities, profanities, and vulgarities, especially as a regular part of speech. -
SEXUAL
Content that focuses on sexualized physical attributes and activities, sexual topics, or experiences. -
VIOLENCE
Simulations and/or depictions of realistic violence, gore, extreme injury, or death. -
UNKNOWN
The channel has a content classification label that is unrecognized by the library; Please file an issue on our GitHub repository.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<ContentClassification>
-
parse
-