public abstract class RecordingManager extends Object
Modifier | Constructor and Description |
---|---|
protected |
RecordingManager()
Constructor for instances of this class.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
addRecordingChangedListener(RecordingChangedListener rcl)
Adds an event listener for changes in status of recording requests.
|
abstract RecordingList |
getEntries()
Gets the list of entries maintained by the RecordingManager.
|
abstract RecordingList |
getEntries(RecordingListFilter filter)
Gets the list of recording requests matching the specified filter.
|
static RecordingManager |
getInstance()
Gets the singleton instance of RecordingManager.
|
abstract RecordingRequest |
getRecordingRequest(int id)
Look up a recording request from the identifier.
|
abstract RecordingRequest |
record(RecordingSpec source)
Requests the recording of the stream or streams according to the source
parameter.
|
abstract void |
removeRecordingChangedListener(RecordingChangedListener rcl)
Removes a registed event listener for changes in status of recording
requests.
|
protected RecordingManager()
public abstract RecordingList getEntries()
SecurityException
- if the calling application does not have
RecordingPermission("read",..) or RecordingPermission("*",..)public abstract RecordingList getEntries(RecordingListFilter filter)
filter
- the filter to use on the total set of recording requestsSecurityException
- if the calling application does not have
RecordingPermission("read",..) or RecordingPermission("*",..)public abstract void addRecordingChangedListener(RecordingChangedListener rcl)
rcl
- The listener to be registered.SecurityException
- if the calling application does not have
RecordingPermission("read",..) or RecordingPermission("*",..)public abstract void removeRecordingChangedListener(RecordingChangedListener rcl)
rcl
- the listener to be removed.public abstract RecordingRequest record(RecordingSpec source) throws IllegalArgumentException, AccessDeniedException
source
- specification of stream or streams to be recorded
and how they are to be recorded.IllegalArgumentException
- if the source is an application
defined class or as defined in the concrete sub-class of
RecordingSpec for instances of that classAccessDeniedException
- only where defined in the concrete sub-class of
RecordingSpec for instances of that classSecurityException
- if the calling application does not have
RecordingPermission("create",..) or RecordingPermission("*",..)public static RecordingManager getInstance()
public abstract RecordingRequest getRecordingRequest(int id) throws IllegalArgumentException
id
- an identifier as returned by RecordingRequest.getIdIllegalArgumentException
- if there is no recording
request corresponding to this identifier or if the recording request
is not visible as defined by RecordingRequest specific security
attributesSecurityException
- if the calling application does not have
RecordingPermission("read",..) or RecordingPermission("*",..)RecordingRequest.getId()
Copyright © 2013 CableLabs. All rights reserved.