|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
javax.tv.service.selection.ServiceContextEvent
org.ocap.shared.dvr.RecordingTerminatedEvent
public class RecordingTerminatedEvent
An Event Notifying that recording has terminated for the
ServiceContext
. This event is generated by a
ServiceContext
that is presenting a time-shifted service
or a service that is being recorded. The presentation is not yet
terminated as the playback point is time-delayed. This event is
generated only when the playback point is not the same as the live
point. A PresentationTerminatedEvent
will be generated
when the playback point catches up with the point of record termination.
Field Summary | |
---|---|
static int |
ACCESS_WITHDRAWN
Reason code: Access to the service or some component of it has been withdrawn by the system. |
static int |
RESOURCES_REMOVED
Reason code: Resources needed to record the service have been removed. |
static int |
SCHEDULED_STOP
Reason code: The recording was terminated normally as scheduled. |
static int |
SERVICE_VANISHED
Reason code: The service vanished from the network. |
static int |
USER_STOP
Reason code: The user requested that the recording be stopped. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
RecordingTerminatedEvent(javax.tv.service.selection.ServiceContext source,
int reason)
Constructs the event. |
Method Summary | |
---|---|
int |
getReason()
Returns the reason for the recordings termination. |
Methods inherited from class javax.tv.service.selection.ServiceContextEvent |
---|
getServiceContext |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int SERVICE_VANISHED
public static final int RESOURCES_REMOVED
ServiceContext
stop method is called.
public static final int ACCESS_WITHDRAWN
public static final int SCHEDULED_STOP
public static final int USER_STOP
RecordingRequest
stop method is called.
Constructor Detail |
---|
public RecordingTerminatedEvent(javax.tv.service.selection.ServiceContext source, int reason)
source
- The ServiceContext
that
generated the event.reason
- The reason the recording terminatedMethod Detail |
---|
public int getReason()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |