Enum-Klasse ContentClassification
- Alle implementierten Schnittstellen:
Serializable,Comparable<ContentClassification>,Constable
Content classification tags that indicate that a stream may not be suitable for certain viewers.
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum-Konstanten - Übersicht
Enum-KonstantenEnum-KonstanteBeschreibungExcessive 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. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic @NotNull ContentClassificationtoString()static ContentClassificationGibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück.static ContentClassification[]values()Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.
-
Enum-Konstanten - 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.
-
-
Methodendetails
-
values
Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.- Gibt zurück:
- ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration
-
valueOf
Gibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück. Die Zeichenfolge muss exakt mit einer ID übereinstimmen, mit der eine Enum-Konstante in dieser Klasse deklariert wird. (Zusätzliche Leerzeichen sind nicht zulässig.)- Parameter:
name- Name der zurückzugebenden Enumerationskonstante.- Gibt zurück:
- Enumerationskonstante mit dem angegebenen Namen
- Löst aus:
IllegalArgumentException- wenn diese Enum-Klasse keine Konstante mit dem angegebenen Namen enthältNullPointerException- wenn das Argument nicht angegeben wird
-
toString
- Setzt außer Kraft:
toStringin KlasseEnum<ContentClassification>
-
parse
-