|
1.0: Final Release | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
MediaProcessorListener is an interface that may be
used to receive events generated by a MediaProcessor. To
use this interface, instantiate an object that implements this
interface and pass it to the addMediaProcessorListener
method of the MediaProcessor.
| Field Summary | |
static java.lang.String |
PROCESSING_ABORTED
Posted to indicate that the processing has been aborted and the MediaProcessor has moved into UNREALIZED state. |
static java.lang.String |
PROCESSING_COMPLETED
Posted to indicate that the processing has been completed and that the MediaProcessor has moved into UNREALIZED
state. |
static java.lang.String |
PROCESSING_ERROR
Posted to indicate that the processing was interrupted because of some error and the MediaProcessor has moved into REALIZED
state. |
static java.lang.String |
PROCESSING_STARTED
Posted to indicate that the MediaProcessor has
moved into STARTED state and is processing
input. |
static java.lang.String |
PROCESSING_STOPPED
Posted to indicate that the MediaProcessor has
moved into STOPPED state and paused
processing. |
static java.lang.String |
PROCESSOR_REALIZED
Posted to indicate that the processor has been moved from UNREALIZED into REALIZED state. |
| Method Summary | |
void |
mediaProcessorUpdate(MediaProcessor processor,
java.lang.String event,
java.lang.Object eventData)
This method is called to deliver an event to a registered listener when a MediaProcessor event is observed. |
| Field Detail |
public static final java.lang.String PROCESSOR_REALIZED
public static final java.lang.String PROCESSING_STARTED
MediaProcessor has
moved into STARTED state and is processing
input. eventData is an Integer
ranged 0 to 1000 or MediaProcessor.UNKNOWN
specifying an estimated amount of work that
has been done in tenths of a percent.
public static final java.lang.String PROCESSING_STOPPED
MediaProcessor has
moved into STOPPED state and paused
processing. eventData is an Integer
ranged 0 to 1000 or MediaProcessor.UNKNOWN
specifying an estimated amount of work that
had been done in tenths of a percent.
public static final java.lang.String PROCESSING_ABORTED
MediaProcessor has moved into UNREALIZED state.
eventData is an Integer
ranged 0 to 1000 or MediaProcessor.UNKNOWN
specifying an estimated amount of work that
had been done in tenths of a percent.
public static final java.lang.String PROCESSING_COMPLETED
MediaProcessor has moved into UNREALIZED
state. eventData is a Boolean that
indicates whether the result was written successfully to the
output stream or not.
public static final java.lang.String PROCESSING_ERROR
MediaProcessor has moved into REALIZED
state. eventData is a String that
indicates the error message
| Method Detail |
public void mediaProcessorUpdate(MediaProcessor processor,
java.lang.String event,
java.lang.Object eventData)
processor - the MediaProcessor which generated the eventevent - the generated eventeventData - the associated event data
|
1.0: Final Release | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||