com.bramosystems.oss.player.core.client
Enum MediaInfo.MediaInfoKey
java.lang.Object
java.lang.Enum<MediaInfo.MediaInfoKey>
com.bramosystems.oss.player.core.client.MediaInfo.MediaInfoKey
- All Implemented Interfaces:
- Serializable, Comparable<MediaInfo.MediaInfoKey>
- Enclosing class:
- MediaInfo
public static enum MediaInfo.MediaInfoKey
- extends Enum<MediaInfo.MediaInfoKey>
An enum of supported media metadata keys
Title
public static final MediaInfo.MediaInfoKey Title
Artists
public static final MediaInfo.MediaInfoKey Artists
AlbumTitle
public static final MediaInfo.MediaInfoKey AlbumTitle
Genre
public static final MediaInfo.MediaInfoKey Genre
Year
public static final MediaInfo.MediaInfoKey Year
Publisher
public static final MediaInfo.MediaInfoKey Publisher
ContentProviders
public static final MediaInfo.MediaInfoKey ContentProviders
StationName
public static final MediaInfo.MediaInfoKey StationName
StationOwner
public static final MediaInfo.MediaInfoKey StationOwner
Comment
public static final MediaInfo.MediaInfoKey Comment
Duration
public static final MediaInfo.MediaInfoKey Duration
HardwareSoftwareRequirements
public static final MediaInfo.MediaInfoKey HardwareSoftwareRequirements
Copyright
public static final MediaInfo.MediaInfoKey Copyright
VideoWidth
public static final MediaInfo.MediaInfoKey VideoWidth
VideoHeight
public static final MediaInfo.MediaInfoKey VideoHeight
values
public static MediaInfo.MediaInfoKey[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (MediaInfo.MediaInfoKey c : MediaInfo.MediaInfoKey.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MediaInfo.MediaInfoKey valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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 type has no constant
with the specified name
NullPointerException
- if the argument is null
toString
public String toString()
- Returns a "friendly" name for this metadata key
- Overrides:
toString
in class Enum<MediaInfo.MediaInfoKey>
- Returns:
- "friendly" name for this key object
Copyright © 2009-2011. All Rights Reserved.