|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ocap.media.VBIFilterEvent
public class VBIFilterEvent
This class represents a VBI filter event. When a specific event happens,
the VBIFilterListener.filterUpdate(org.ocap.media.VBIFilterEvent)
method is called with an event
that has a proper event code to indicate the event.
Field Summary | |
---|---|
static int |
EVENT_CODE_BUFFER_FULL
Indicates an internal buffer is full. |
static int |
EVENT_CODE_FAILED_TO_DESCRAMBLE
Indicates descrambling is unavailable for current video. |
static int |
EVENT_CODE_FIRST_VBI_DATA_AVAILABLE
Indicates that the first VBI data unit is available. |
static int |
EVENT_CODE_FORCIBLE_TERMINATED
Indicates current filtering is terminated forcibly for any reason except other EVENT_CODE_ constants. |
static int |
EVENT_CODE_TIME_NOTIFICATION
Indicates that a specified time-period elapsed after receiving the first byte of a data unit. |
static int |
EVENT_CODE_TIMEOUT
Indicates a timeout (specified by VBIFilter.setTimeOut(long) )
occurred, i.e., this event code indicates no data unit is available. |
static int |
EVENT_CODE_UNITS_NOTIFICATION
Indicates that the specified number of new data units are filtered and stored in a buffer cyclically. |
static int |
EVENT_CODE_VIDEO_SOURCE_CHANGED
Indicates the current video for VBI data unit filtering has changed. |
Constructor Summary | |
---|---|
VBIFilterEvent()
Constructor of this class. |
Method Summary | |
---|---|
java.lang.Object |
getAppData()
This method returns application specific data that was specified by VBIFilter.startFiltering() methods. |
int |
getEventCode()
This method returns the specific event code that caused this event. |
java.lang.Object |
getSource()
This method returns an instance of a class implementing VBIFilter that is the source of the event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int EVENT_CODE_FIRST_VBI_DATA_AVAILABLE
VBIFilter.startFiltering(java.lang.Object)
method even if multiple lines/fields is specified to the filter.
Filtering continues.
public static final int EVENT_CODE_FORCIBLE_TERMINATED
VBIFilter.stopFiltering()
is called.
public static final int EVENT_CODE_VIDEO_SOURCE_CHANGED
public static final int EVENT_CODE_FAILED_TO_DESCRAMBLE
public static final int EVENT_CODE_TIMEOUT
VBIFilter.setTimeOut(long)
)
occurred, i.e., this event code indicates no data unit is available.
public static final int EVENT_CODE_BUFFER_FULL
public static final int EVENT_CODE_TIME_NOTIFICATION
public static final int EVENT_CODE_UNITS_NOTIFICATION
Constructor Detail |
---|
public VBIFilterEvent()
Method Detail |
---|
public java.lang.Object getSource()
public java.lang.Object getAppData()
public int getEventCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |