public interface IImagePickerCallback
IImagePickerCallback
callback, but the application may not be in the same state as before.Modifier and Type | Field and Description |
---|---|
static int |
STATUS_CANCELLED
The user chose to cancel the image capture task and return to the application without an Image.
|
static int |
STATUS_ERROR
The image-capture ended in an error, usually due to an unexpected situation (file-not-found, not enough memory, can't access file).
|
static int |
STATUS_NO_PERMISSION
The application does not have permission to perform this kind of image-capture task.
|
Modifier and Type | Method and Description |
---|---|
void |
onImagePicked(javax.microedition.lcdui.Image image)
The image-capture task has ended successfuly
|
void |
onImagePickingFailed(int result,
java.lang.String error)
Image capture ended without generating an Image.
|
static final int STATUS_ERROR
static final int STATUS_CANCELLED
static final int STATUS_NO_PERMISSION
void onImagePicked(javax.microedition.lcdui.Image image)
image
- the resultant Image.void onImagePickingFailed(int result, java.lang.String error)
result
- the status code associated with this callback, ERROR, CANCELLED, or NO_PERMISSONerror
- any further information that may come back from the OS or the ImagePicker
.