|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UPnPConstants
This interface contains constants that are specific to UPnP and used in conjuntion
with the org.ocap.hn.content.Metadata
interface.
Field Summary | |
---|---|
static String |
ACTOR
Name of an actor appearing in a video item. |
static String |
ACTOR_AT_ROLE
Role of an actor in the work. |
static String |
ALBUM
This identifies a ALBUM this piece of content belongs to. |
static String |
ALBUM_ART
Reference to album art. |
static String |
ARTIST
Name of an artist. |
static String |
ARTIST_AT_ROLE
Role of an artist in the work. |
static String |
ARTIST_DISCOGRAPHY
Reference to artist discography. |
static String |
AUTHOR
Name of an author. |
static String |
AUTHOR_AT_ROLE
Role of an author in the work (e.g. lyrics, music). |
static String |
CHANNEL_NAME
Used for identification of channels themselves, or information associated with a piece of recorded content. |
static String |
CHANNEL_NUMBER
Used for identification of tuner channels themselves or information associated with a piece of recorded content. |
static String |
COMMENTS
General-purpose tag where a user can annotate an object with some user-specific information. |
static String |
CONTRIBUTOR
Name of a contributor. |
static String |
CREATION_DATE
This identifies the CREATION_DATE of a piece of content. |
static String |
CREATOR
This identifies the CREATOR of a piece of content. |
static String |
DESCRIPTION
A brief description of the content item. |
static String |
DIRECTOR
Name of a director. |
static String |
DVD_REGION_CODE
DVD region code. |
static String |
GENRE
Name of the genre to which an object belongs. |
static String |
ICON_REF
Reference to an icon which can be used to represent the content. |
static String |
ID
An identifier for the object. |
static String |
LANGUAGE
Language as defined by RFC 3066, e.g. "en-US". |
static String |
LONG_DESCRIPTION
A long description of the content item. |
static String |
LYRICS_REF
Reference to lyrics of a track or album. |
static String |
MEDIA_ID
Unique identifier of an audio CD (e.g. freedb or cddb id). |
static String |
PLAYLIST
Name of a playlist this object belongs to. |
static String |
PRODUCER
Name of a producer. |
static String |
PUBLISHER
Name of a publisher. |
static String |
RADIO_BAND
Radio station frequency band. |
static String |
RADIO_CALL_SIGN
Radio station call sign, e.g. "KSJO". |
static String |
RADIO_STATION_ID
Some identification, e.g. "107.7", broadcast frequency of the radio station. |
static String |
RATING
Rating of the object's resource, for 'parental control' filtering purposes, such as "R", "PG-13", "X". |
static String |
REGION
Some identification of the region, associated with the 'source' of the object, e.g. "US", "Latin America", "Seattle". |
static String |
RELATION
Reference to related resources. |
static String |
RIGHTS
Element Description: Information about rights held in and over the resource. |
static String |
SCHEDULED_END_TIME
End time of a scheduled program. |
static String |
SCHEDULED_START_TIME
Start time of a scheduled program. |
static String |
STORAGE_MEDIUM
Indicates the type of storage medium used for the content. |
static String |
TITLE
The identifier for the title of an item. |
static String |
TRACK_NUMBER
Original track number on a CD or other medium. |
Field Detail |
---|
static final String ID
The value is didl-lite:
(object)@"id"
static final String TITLE
TITLE
should always return a String.
The value of this key is "dc:title".
static final String CREATOR
CREATOR
of a piece of content.
In the case of e.g., MP3's this maps to the 'Artist' ID3 tag, In case of a
recording/live broadcast this is the Broadcaster e.g., BBC1.
CREATOR
should always return a String.
The value of this key is "dc:creator".
static final String ARTIST
The value of this field is "upnp:artist"
.
static final String ARTIST_AT_ROLE
The value of this field is "upnp:artist@role"
static final String ACTOR
The value of this field is "upnp:actor"
.
static final String ACTOR_AT_ROLE
The value of this field is "upnp:actor@role"
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String AUTHOR
The value of this field is "upnp:author"
.
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String AUTHOR_AT_ROLE
The value of this field is "upnp:author@role"
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String PRODUCER
The value of this field is "upnp:producer"
.
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String DIRECTOR
The value of this field is "upnp:director"
.
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String PUBLISHER
The value of this field is "dc:publisher"
.
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String CONTRIBUTOR
The value of this field is "dc:contributor"
.
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String GENRE
The value of this field is "upnp:genre"
.
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String ALBUM
ALBUM
this piece of content belongs to.
For example, in MP3 files this maps to the 'Album' ID3 tag, In case of a
recording/live broadcast this could be the series to which it belongs (e.g., Buffy).
The value of this field is "upnp:album"
ALBUM
should always return a String.
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String PLAYLIST
The value of this field is "upnp:playlist"
.
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String ALBUM_ART
The value of this field is "upnp:albumArtURI"
.
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String ARTIST_DISCOGRAPHY
The value of this field is "upnp:artistDiscographyURI.
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String LYRICS_REF
The value of this field is "upnp:lyricsURI"
.
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String RELATION
The value of this field is "dc:relation.
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String STORAGE_MEDIUM
The value of this field is "upnp:storageMedium"
.
static final String DESCRIPTION
The value of this field is "dc:description"
.
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String LONG_DESCRIPTION
The value of this field is "upnp:longDescription"
.
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String ICON_REF
The value of this field is "upnp:icon"
.
IB: Do we want a key/value pair icon -> java.awt.Image ?
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String REGION
The value of this field is "upnp:region"
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String RATING
The value of this field is "upnp:rating"
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String RIGHTS
The value of this field is "dc:rights"
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String CREATION_DATE
CREATION_DATE
of a piece of content.
In the case of e.g., MP3's this maps to the 'Year' ID3 tag, In case of a
recording/live broadcast this is when the content was created. For Images
this is the date the photo was made.
CREATION_DATE
should always return a java.util.Date.
Only the year of the Date might actually be valid (e.g., for MP3s).
The value of this field is "dc:date"
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String LANGUAGE
The value of this field is "dc:language"
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String RADIO_CALL_SIGN
The value of this field is "upnp:radioCallSign"
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String RADIO_STATION_ID
The value of this field is "upnp:radioStationID"
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String RADIO_BAND
The value of this field is "upnp:radioBand"
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String CHANNEL_NUMBER
The value of this field is "upnp:channelNr"
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String CHANNEL_NAME
The value of this field is "upnp:channelName"
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String SCHEDULED_START_TIME
The value of this field is "upnp:scheduledStartTime"
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String SCHEDULED_END_TIME
The value of this field is "upnp:scheduledEndTime"
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String DVD_REGION_CODE
The value of this field is "upnp:DVDRegionCode"
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String TRACK_NUMBER
The value of this field is "upnp:originalTrackNumber"
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String MEDIA_ID
The value of this field is "upnp:toc"
MetadataNode.getMetadata(String)
,
Constant Field Valuesstatic final String COMMENTS
The value of this field is "upnp:userAnnotation"
MetadataNode.getMetadata(String)
,
Constant Field Values
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |