public class

SimpleOnImagePickedListener

extends Object
implements ImagePicker.OnImagePickedListener
java.lang.Object
   ↳ com.pspdfkit.document.image.SimpleOnImagePickedListener

Class Overview

Empty implementation of the ImagePicker.OnImagePickedListener interface.

Summary

Public Constructors
SimpleOnImagePickedListener()
Public Methods
void onCameraPermissionDeclined(boolean permanent)
Called when camera permission is declined by user.
void onImagePicked(Uri imageUri)
Called when image has been successfully picked/captured from camera.
void onImagePickerCancelled()
Called when image picker has been cancelled.
void onImagePickerUnknownError()
Called when an unknown error occurred while picking/capturing an image.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.pspdfkit.document.image.ImagePicker.OnImagePickedListener

Public Constructors

public SimpleOnImagePickedListener ()

Public Methods

public 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 void onImagePicked (Uri imageUri)

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

Parameters
imageUri Picked image Uri.

public void onImagePickerCancelled ()

Called when image picker has been cancelled.

public void onImagePickerUnknownError ()

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