Package com.pspdfkit.document.image
Interface ImagePicker.OnImagePickedListener
-
- All Implemented Interfaces:
public interface ImagePicker.OnImagePickedListener
Interface for listening for image picker results.
-
-
Method Summary
Modifier and Type Method Description abstract void
onImagePicked(@NonNull() Uri imageUri)
Called when image has been successfully picked/captured from camera. abstract void
onImagePickerUnknownError()
Called when an unknown error occurred while picking/capturing an image. abstract void
onImagePickerCancelled()
Called when image picker has been cancelled. abstract void
onCameraPermissionDeclined(boolean permanent)
Called when camera permission is declined by user. -
-
Method Detail
-
onImagePicked
abstract void onImagePicked(@NonNull() Uri imageUri)
Called when image has been successfully picked/captured from camera.
- Parameters:
imageUri
- Picked image Uri.
-
onImagePickerUnknownError
abstract void onImagePickerUnknownError()
Called when an unknown error occurred while picking/capturing an image.
-
onImagePickerCancelled
abstract void onImagePickerCancelled()
Called when image picker has been cancelled.
-
onCameraPermissionDeclined
abstract 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.
-
-
-
-