|
JSR-234 1.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MediaProcessorListener
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 |
---|
static final java.lang.String PROCESSOR_REALIZED
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.
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.
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.
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.
static final java.lang.String PROCESSING_ERROR
MediaProcessor
has moved into REALIZED
state. eventData
is a String
that
indicates the error message
Method Detail |
---|
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
|
JSR-234 1.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |