Class SimpleOnImagePickedListener

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

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

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

      • SimpleOnImagePickedListener

        SimpleOnImagePickedListener()
    • 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.

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