Enum Constant and Description |
---|
BOOKS |
MOVIES |
TV_SHOWS |
VIDEOGAMES |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getColor()
Getter
|
MediaItemsAbstractController |
getController()
Getter
|
java.lang.Integer |
getFormIcon() |
java.lang.Integer |
getIcon()
Getter
|
java.lang.String |
getNamePlural(Context context)
Getter
|
java.lang.String |
getNameSingular(Context context)
Getter
|
static MediaType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MediaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaType BOOKS
public static final MediaType MOVIES
public static final MediaType VIDEOGAMES
public static final MediaType TV_SHOWS
public static MediaType[] values()
for (MediaType c : MediaType.values()) System.out.println(c);
public static MediaType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic MediaItemsAbstractController getController()
public java.lang.String getNameSingular(Context context)
context
- the contextpublic java.lang.String getNamePlural(Context context)
context
- the contextpublic java.lang.Integer getIcon()
public java.lang.Integer getColor()
public java.lang.Integer getFormIcon()