com.nokia.mid.imagescale
Interface ImageScalerListener


public interface ImageScalerListener

ImageScalerListener is the interface for receiving asynchronous events generated by ImageScaler. Applications may implement this interface and register their implementations with the addListener method in ImageScaler.

See Also:
ImageScaler

Field Summary
static int SCALE_IMAGE_ERROR_CANCELLED
          Scale cancelled.
static int SCALE_IMAGE_ERROR_OUT_OF_MEMORY
          Scale out of memory.
static int SCALE_IMAGE_ERROR_QUEUE_FULL
          Scale queue full.
static int SCALE_IMAGE_OK
          Scale OK.
 
Method Summary
 void scaleFinished(int requestId, int result)
          This method is called to deliver an event to a registered listener when a ImageScaling finish event is observed.
 

Field Detail

SCALE_IMAGE_OK

static final int SCALE_IMAGE_OK
Scale OK.


SCALE_IMAGE_ERROR_CANCELLED

static final int SCALE_IMAGE_ERROR_CANCELLED
Scale cancelled.


SCALE_IMAGE_ERROR_QUEUE_FULL

static final int SCALE_IMAGE_ERROR_QUEUE_FULL
Scale queue full.


SCALE_IMAGE_ERROR_OUT_OF_MEMORY

static final int SCALE_IMAGE_ERROR_OUT_OF_MEMORY
Scale out of memory.

Method Detail

scaleFinished

void scaleFinished(int requestId,
                   int result)
This method is called to deliver an event to a registered listener when a ImageScaling finish event is observed.

Parameters:
requestId - The imagescaler request id.
result - the result code