Interface ImagePicker.OnImagePickedListener

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

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

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