Package com.pspdfkit.document.image
Class SimpleOnImagePickedListener
-
- All Implemented Interfaces:
-
com.pspdfkit.document.image.ImagePicker.OnImagePickedListener
public class SimpleOnImagePickedListener implements ImagePicker.OnImagePickedListener
Empty implementation of the OnImagePickedListener interface.
-
-
Constructor Summary
Constructors Constructor Description SimpleOnImagePickedListener()
-
Method Summary
Modifier and Type Method Description void
onImagePicked(@NonNull() Uri imageUri)
Called when image has been successfully picked/captured from camera. void
onImagePickerUnknownError()
Called when an unknown error occurred while picking/capturing an image. void
onImagePickerCancelled()
Called when image picker has been cancelled. void
onCameraPermissionDeclined(boolean permanent)
Called when camera permission is declined by user. -
-
Method Detail
-
onImagePicked
void onImagePicked(@NonNull() Uri imageUri)
Called when image has been successfully picked/captured from camera.
- Parameters:
imageUri
- Picked image Uri.
-
onImagePickerUnknownError
void onImagePickerUnknownError()
Called when an unknown error occurred while picking/capturing an image.
-
onImagePickerCancelled
void onImagePickerCancelled()
Called when image picker has been cancelled.
-
onCameraPermissionDeclined
void onCameraPermissionDeclined(boolean permanent)
Called when camera permission is declined by user.
- Parameters:
permanent
- If true, user selected "Do not ask again" and permission needs to be turned on in application settings.
-
-
-
-