public static enum LoadOptions.ContentFilteringMode extends Enum<LoadOptions.ContentFilteringMode>
| Enum Constant and Description |
|---|
FILTER_EXPLICIT
Do not play explicit content
|
| Modifier and Type | Method and Description |
|---|---|
static LoadOptions.ContentFilteringMode |
typeOf(String contentFilteringMode)
Parses the specified string and returns the corresponding
LoadOptions.ContentFilteringMode, or null if no match could be
found. |
static LoadOptions.ContentFilteringMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadOptions.ContentFilteringMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoadOptions.ContentFilteringMode FILTER_EXPLICIT
public static LoadOptions.ContentFilteringMode[] values()
for (LoadOptions.ContentFilteringMode c : LoadOptions.ContentFilteringMode.values()) System.out.println(c);
public static LoadOptions.ContentFilteringMode 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 null@Nullable public static LoadOptions.ContentFilteringMode typeOf(String contentFilteringMode)
LoadOptions.ContentFilteringMode, or null if no match could be
found.contentFilteringMode - the string to parse.LoadOptions.ContentFilteringMode or null.Copyright © 2022. All rights reserved.