public static interface

ImagePicker.OnImagePickedListener

com.pspdfkit.document.image.ImagePicker.OnImagePickedListener
Known Indirect Subclasses

Class Overview

Interface for listening for image picker results.

Summary

Public Methods
abstract void onCameraPermissionDeclined(boolean permanent)
Called when camera permission is declined by user.
abstract void onImagePicked(Uri imageUri)
Called when image has been successfully picked/captured from camera.
abstract void onImagePickerCancelled()
Called when image picker has been cancelled.
abstract void onImagePickerUnknownError()
Called when an unknown error occurred while picking/capturing an image.

Public Methods

public 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.

public abstract void onImagePicked (Uri imageUri)

Called when image has been successfully picked/captured from camera.

Parameters
imageUri Picked image Uri.

public abstract void onImagePickerCancelled ()

Called when image picker has been cancelled.

public abstract void onImagePickerUnknownError ()

Called when an unknown error occurred while picking/capturing an image.