Example usage for Java android.hardware.camera2 CameraAccessException fields, constructors, methods, implement or subclass
The text is from its open source code.
int | CAMERA_DISABLED The camera is disabled due to a device policy, and cannot be opened. |
int | CAMERA_DISCONNECTED The camera device is removable and has been disconnected from the Android device, or the camera id used with android.hardware.camera2.CameraManager#openCamera is no longer valid, or the camera service has shut down the connection due to a higher-priority access request for the camera device. |
int | CAMERA_ERROR The camera device is currently in the error state. |
String | getMessage() Returns the detail message string of this throwable. |
int | getReason() The reason for the failure to access the camera. |
void | printStackTrace() Prints this throwable and its backtrace to the standard error stream. |