public enum MetadataType extends Enum<MetadataType>
| Enum Constant and Description |
|---|
CURRENT_TEMPERATURE
The data in this field is the current temperature.
|
HUMIDITY
The data in this field describes the current humidity value.
|
MAXIMUM_TEMPERATURE
The data in this field is the maximum temperature for the day.
|
MEDIA_ALBUM
The data in this field contains the album title of the currently playing audio track.
|
MEDIA_ARTIST
The data in this field contains the artist or creator of the currently playing audio track.
|
MEDIA_GENRE
The data in this field contains the genre of the currently playing audio track.
|
MEDIA_STATION
The data in this field contains the name of the current source for the media.
|
MEDIA_TITLE
The data in this field contains the title of the currently playing audio track.
|
MEDIA_YEAR
The data in this field contains the creation year of the currently playing audio track.
|
MINIMUM_TEMPERATURE
The data in this field is the minimum temperature for the day.
|
RATING
The data in this field is a rating.
|
WEATHER_TERM
The data in this field describes the current weather (ex.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static MetadataType |
valueForString(String value) |
static MetadataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetadataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetadataType MEDIA_TITLE
public static final MetadataType MEDIA_ARTIST
public static final MetadataType MEDIA_ALBUM
public static final MetadataType MEDIA_YEAR
public static final MetadataType MEDIA_GENRE
public static final MetadataType MEDIA_STATION
public static final MetadataType RATING
public static final MetadataType CURRENT_TEMPERATURE
public static final MetadataType MAXIMUM_TEMPERATURE
public static final MetadataType MINIMUM_TEMPERATURE
public static final MetadataType WEATHER_TERM
public static final MetadataType HUMIDITY
public static MetadataType[] values()
for (MetadataType c : MetadataType.values()) System.out.println(c);
public static MetadataType 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 toString()
toString in class Enum<MetadataType>public static MetadataType valueForString(String value)