javax.microedition.amms
Interface MediaProcessorListener

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.

PROCESSING_STARTED

Posted to indicate that the 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.

PROCESSING_STOPPED

Posted to indicate that the 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.

PROCESSING_ABORTED

Posted to indicate that the processing has been aborted and
the 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.

PROCESSING_COMPLETED

Posted to indicate that the processing has been completed and that
the MediaProcessor has moved into UNREALIZED state. eventData is a Boolean that
indicates whether the result was written successfully to the
output stream or not.

Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.Java is a trademark of Oracle America Inc. in the US and other countries.Legal