|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RecordingContentItem
This ContentItem represents a recording that has been scheduled
on the home network.
This interface represents a DVR recording which can be published to
the home network. On devices which support both the OCAP Home Networking
API and the OCAP DVR API, objects implementing org.ocap.dvr.OcapRecordingRequest
will also implement this interface. When a RecordingRequest is deleted, implementations
SHALL call the RecordingContentItem.deleteEntry method in the same object.
| Field Summary | |
|---|---|
static String |
PROP_ACCESS_PERMISSIONS
Key constant for retrieving the file access permissions of this recording item from this item's metadata. |
static String |
PROP_APP_ID
Key constant for retrieving the application ID of this recording item from this item's metadata. |
static String |
PROP_CONTENT_URI
Key constant for retrieving the location of content associated with this recording item from this item's metadata. |
static String |
PROP_DESTINATION
Key constant for retrieving the destination of this recording item from this item's metadata. |
static String |
PROP_DURATION
Key constant for retrieving the duration in milliseconds of this recording item from this item's metadata. |
static String |
PROP_EXPIRATION_PERIOD
Key constant for retrieving the expiration period for this recording item from this item's metadata. |
static String |
PROP_MEDIA_FIRST_TIME
Key constant for retrieving the media first time for this recording item from this item's metadata. |
static String |
PROP_MSO_CONTENT
Key constant for retrieving the MSO content indicator for this recording item from this item's metadata. |
static String |
PROP_NET_RECORDING_ENTRY
Key constant for retrieving the ID of any NetRecordingEntry containing this RecordingContentItem. |
static String |
PROP_ORGANIZATION
Key constant for retrieving the organization of this recording item from this item's metadata. |
static String |
PROP_PRESENTATION_POINT
Key constant for retrieving the presentation point for this recording item from this item's metadata. |
static String |
PROP_PRIORITY_FLAG
Key constant for retrieving the priority flag of this recording item from this item's metadata. |
static String |
PROP_RECORDING_STATE
Key constant for retrieving the state of this recording item from this item's metadata. |
static String |
PROP_RETENTION_PRIORITY
Key constant for retrieving the retention priority of this recording item from this item's metadata. |
static String |
PROP_SOURCE_ID
Key constant for retrieving the source ID of this recording item from this item's metadata. |
static String |
PROP_SOURCE_ID_TYPE
Key constant for retrieving the source ID type of this recording item from this item's metadata. |
static String |
PROP_SPACE_REQUIRED
Key constant for retrieving the estimated space required for this recording item from this item's metadata. |
static String |
PROP_START_TIME
Key constant for retrieving the start time of this recording item from this item's metadata. |
| Fields inherited from interface org.ocap.hn.content.ContentItem |
|---|
AUDIO_ITEM, AUDIO_ITEM_BOOK, AUDIO_ITEM_BROADCAST, AUDIO_ITEM_TRACK, IMAGE_ITEM, IMAGE_ITEM_PHOTO, ITEM, VIDEO_ITEM, VIDEO_ITEM_BROADCAST, VIDEO_ITEM_MOVIE, VIDEO_ITEM_MUSIC_CLIP |
| Method Summary | |
|---|---|
boolean |
deleteEntry()
Deletes this RecordingContentItem, but does not remove the physical recording. |
NetRecordingEntry |
getRecordingEntry()
Returns the NetRecordingEntry which contains this recording content item if the NetRecordingEntry is available. |
String |
getRecordingEntryID()
Returns the ObjectID of the NetRecordingEntry which contains this recording content item. |
NetActionRequest |
requestConflictingRecordings(NetActionHandler handler)
Requests a list of recordings whose usage of resources conflict with this recording content item. |
NetActionRequest |
requestSetMediaTime(javax.media.Time time,
NetActionHandler handler)
Requests that the presentation point of this recording be updated. |
| Methods inherited from interface org.ocap.hn.content.ContentItem |
|---|
containsResource, getContentClass, getItemService, getRenderableResources, getResource, getResourceCount, getResourceIndex, getResources, getTitle, hasAudio, hasStillImage, hasVideo, isRenderable |
| Methods inherited from interface org.ocap.hn.content.ContentEntry |
|---|
getContentSize, getCreationDate, getEntryParent, getExtendedFileAccessPermissions, getID, getParentID, getRootMetadataNode, getServer, isLocal |
| Field Detail |
|---|
static final String PROP_RECORDING_STATE
static final String PROP_START_TIME
static final String PROP_DURATION
static final String PROP_SOURCE_ID
static final String PROP_SOURCE_ID_TYPE
static final String PROP_DESTINATION
static final String PROP_PRIORITY_FLAG
static final String PROP_RETENTION_PRIORITY
static final String PROP_ACCESS_PERMISSIONS
static final String PROP_ORGANIZATION
static final String PROP_APP_ID
static final String PROP_SPACE_REQUIRED
static final String PROP_CONTENT_URI
static final String PROP_MEDIA_FIRST_TIME
static final String PROP_PRESENTATION_POINT
static final String PROP_EXPIRATION_PERIOD
static final String PROP_MSO_CONTENT
static final String PROP_NET_RECORDING_ENTRY
| Method Detail |
|---|
boolean deleteEntry()
throws IOException
Note: this overrides the definition of ContentItem.deleteEntry(). If an
application calls the ContentEntry.deleteEntry method on an object that
is an instance of RecordingContentItem, the implementation SHALL delete the
RecordingContentItem as defined by this method.
deleteEntry in interface ContentEntrydeleteEntry in interface ContentItemSecurityException - if the application does not have write
ExtendedFileAccessPermission.
IOException - if the RecordingContentItem is not local.
NetActionRequest requestSetMediaTime(javax.media.Time time,
NetActionHandler handler)
time - The presentation point of this recording.handler - The NetActionHandler which gets informed once this request
completes.
NetActionRequest requestConflictingRecordings(NetActionHandler handler)
handler - The NetActionHandler implementation to receive the asynchronous
response to this request
NetRecordingEntry getRecordingEntry()
String getRecordingEntryID()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||