public interface ParentRecordingRequest extends RecordingRequest
A parent recording request may be in the unresolved state, partially resolved state, completely resolved state, or the cancelled state.
A recording request would be in the unresolved state if the implementation does not have enough information to process this recording request. A recording request in this state may transition to partially resolved state, completely resolved state, or failed state.
A recording request would be in the partially resolved state if the implementation has enough information to schedule some, but not all, child recording requests corresponding to this recording request. This would be the case of a recording request for a series where some episodes for the series are scheduled. A recording request is in completely resolved state if all its child recordings are known and scheduled.
Modifier and Type | Field and Description |
---|---|
static int |
CANCELLED_STATE
A recording request is in cancelled state, if an application has
successfully called the cancel method for this recording request,
but not all child recording request have been deleted.
|
static int |
COMPLETELY_RESOLVED_STATE
All child recordings corresponding to this recording request have
been scheduled.
|
static int |
PARTIALLY_RESOLVED_STATE
Some recordings corresponding to this recording request have
been scheduled.
|
static int |
UNRESOLVED_STATE
The implementation does not have enough information to process this
recording request.
|
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancels the parent recording request.
|
RecordingList |
getKnownChildren()
Gets all the immediate child Recordings corresponding to this parent RecordingRequest.
|
addAppData, delete, getAppData, getAppID, getId, getKeys, getParent, getRecordingSpec, getRoot, getState, isRoot, removeAppData, reschedule, setRecordingProperties
static final int UNRESOLVED_STATE
static final int COMPLETELY_RESOLVED_STATE
static final int PARTIALLY_RESOLVED_STATE
static final int CANCELLED_STATE
void cancel() throws IllegalStateException, AccessDeniedException
SecurityException
- if the calling application does not have
RecordingPermission("cancel",..) or RecordingPermission("*",..)AccessDeniedException
- if the calling application is not
permitted to perform this operation by RecordingRequest specific
security attributes.IllegalStateException
- if the recording request
is not in UNRESOLVED_STATE, PARTIALLY_RESOLVED_STATE or
COMPLETELY_RESOLVED_STATE.RecordingList getKnownChildren() throws IllegalStateException
IllegalStateException
- if the recording request is not in
PARTIALLY_RESOLVED_STATE or COMPLETELY_RESOLVED_STATE.Copyright © 2013 CableLabs. All Rights Reserved.