Package 

Class CameraException

    • Constructor Detail

      • CameraException

        CameraException(Throwable cause)
      • CameraException

        CameraException(Throwable cause, int reason)
      • CameraException

        CameraException(int reason)
    • Method Detail

      • isUnrecoverable

         boolean isUnrecoverable()

        Whether this error is unrecoverable. If this function returns true,the Camera has been closed (or will be soon) and it is likely showing a black preview.This is the right moment to show an error dialog to the user.