public interface RecordingNetModule extends NetModule
An interface representing a NetModule which provides DVR functionality.
NetModules which implement this interface SHALL have a NetModule.PROP_NETMODULE_TYPE property value of NetModule.CONTENT_RECORDER.
CONTENT_LIST, CONTENT_MANAGER, CONTENT_RECORDER, CONTENT_RENDERER, CONTENT_SERVER, PROP_CONTROL_URL, PROP_DESCRIPTION_URL, PROP_EventSub_URL, PROP_NETMODULE_ID, PROP_NETMODULE_TYPE| Modifier and Type | Method and Description |
|---|---|
NetActionRequest |
requestDelete(ContentEntry recording,
NetActionHandler handler)
Requests that metadata associated with a scheduled recording be deleted
from storage.
|
NetActionRequest |
requestDeleteService(ContentEntry recording,
NetActionHandler handler)
Requests that content associated with a scheduled recording be deleted
from storage.
|
NetActionRequest |
requestDisable(ContentEntry recording,
NetActionHandler handler)
Requests that an in progress recording be disabled on this network
recording device.
|
NetActionRequest |
requestPrioritize(NetRecordingEntry[] recordings,
NetActionHandler handler)
Requests that a group of scheduled recording request be prioritized on this
network recording device, where each recording request may represent one
or more individual recordings on the remote device.
|
NetActionRequest |
requestPrioritize(RecordingContentItem[] recordings,
NetActionHandler handler)
Requests that a group of scheduled individual recordings be prioritized on this
network recording device.
|
NetActionRequest |
requestReschedule(ContentEntry recording,
NetRecordingSpec recordingSpec,
NetActionHandler handler)
Requests that a recording be rescheduled on this network recording
device.
|
NetActionRequest |
requestSchedule(NetRecordingSpec recordingSpec,
NetActionHandler handler)
Requests that a recording be scheduled on this network recording device.
|
addNetModuleEventListener, getDevice, getKeys, getNetModuleId, getNetModuleType, getProperty, isLocal, removeNetModuleEventListenerNetActionRequest requestSchedule(NetRecordingSpec recordingSpec, NetActionHandler handler)
NetActionEvent.getResponse()
SHALL contain a NetRecordingEntry representing the newly created recording.recordingSpec - a recording spec containing the metadata used to identify the
recordings to be scheduled.handler - The NetActionHandler which gets informed once this request
completes.SecurityException - if the caller does not have
HomeNetPermission("recording")IllegalArgumentException - if recordingSpec has an empty MetadataNode,
or if MetadataNode which is associated with recordingSpec does not contain
the necessary metadata entry such as scheduledChannelID, scheduledStartDateTime,
scheduledDurationNetActionRequest requestReschedule(ContentEntry recording, NetRecordingSpec recordingSpec, NetActionHandler handler)
recording - the previously scheduled RecordingContentItem or NetRecordingEntry to be
rescheduled.recordingSpec - a recording spec containing the metadata used to identify the
changes to recordings to be rescheduled.handler - The NetActionHandler which gets informed once this request
completes.SecurityException - if the caller does not have
HomeNetPermission("recording")IllegalArgumentException - if the recording parameter is neither
the NetRecordingEntry with upnp:srsRecordScheduleID metadata entry
nor the RecordingContentItem with upnp:srsRecordTaskID metadata entry
in its own MetadataNode,or if recordingSpec has an empty MetadataNode,
or if MetadataNode which is associated with recordingSpec does not contain
the necessary metadata entry such as scheduledChannelID, scheduledStartDateTime,
scheduledDurationNetActionRequest requestDisable(ContentEntry recording, NetActionHandler handler)
recording - a RecordingContentItem or NetRecordingEntry that identifies the recording(s) to be canceled.handler - The NetActionHandler which gets informed once this request
completes.SecurityException - if the caller does not have
HomeNetPermission("recording")IllegalArgumentException - if the recording parameter is neither
the NetRecordingEntry with upnp:srsRecordScheduleID metadata entry
nor the RecordingContentItem with upnp:srsRecordTaskID metadata entry
in its own MetadataNodeNetActionRequest requestDeleteService(ContentEntry recording, NetActionHandler handler)
recording - a RecordingContentItem or NetRecordingEntry that identifies the recording(s) to be deleted.handler - The NetActionHandler which gets informed once this request
completes.SecurityException - if the caller does not have
HomeNetPermission("recording")NetActionRequest requestDelete(ContentEntry recording, NetActionHandler handler)
recording - a recording that identifies the recording to be deleted.handler - The NetActionHandler which gets informed once this request
completes.SecurityException - if the caller does not have
HomeNetPermission("recording")NetActionRequest requestPrioritize(RecordingContentItem[] recordings, NetActionHandler handler)
recordings - a prioritized array of RecordingContentItemshandler - The NetActionHandler which gets informed once this request
completes.SecurityException - if the caller does not have
HomeNetPermission("recording")NetActionRequest requestPrioritize(NetRecordingEntry[] recordings, NetActionHandler handler)
recordings - a prioritized array of NetRecordingEntrieshandler - The NetActionHandler which gets informed once this request
completes.SecurityException - if the caller does not have
HomeNetPermission("recording")Copyright © 2012 CableLabs. All Rights Reserved.