|
|||||||||
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.dvr.TimeShiftEvent
public class TimeShiftEvent
The parent class for TimeShiftBuffer events.
Field Summary | |
---|---|
static int |
NO_TIME_SHIFT_BUFFER
A time-shift buffer or recording was not found for attachment to the ServiceContext |
static int |
TIME_SHIFT_BUFFER_FOUND
A time-shift buffer or recording was found for attachment to the ServiceContext . |
static int |
TIME_SHIFT_PROPERTIES_CHANGED
The implementation was forced to change time-shift properties due to signaling. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
TimeShiftEvent(javax.tv.service.selection.ServiceContext source,
int reason)
Constructor for this event. |
Method Summary | |
---|---|
int |
getReason()
Gets the reason for this event. |
javax.tv.service.selection.ServiceContext |
getServiceContext()
Reports the ServiceContext that generated the event. |
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 TIME_SHIFT_BUFFER_FOUND
ServiceContext
.
public static final int NO_TIME_SHIFT_BUFFER
ServiceContext
public static final int TIME_SHIFT_PROPERTIES_CHANGED
Constructor Detail |
---|
public TimeShiftEvent(javax.tv.service.selection.ServiceContext source, int reason)
source
- The object associated with this event.reason
- The reason code for this event. See constants in this class
for possible values.
java.lang.IllegalArgumentException
- if the reason code is not a value matching
one of the possible constants.Method Detail |
---|
public int getReason()
public javax.tv.service.selection.ServiceContext getServiceContext()
ServiceContext
that generated the event.
getServiceContext
in class javax.tv.service.selection.ServiceContextEvent
ServiceContext
that generated the event.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |