Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

CameraX.ErrorCode

public static final enum CameraX.ErrorCode
extends Enum<CameraX.ErrorCode>

java.lang.Object
   ↳ java.lang.Enum<androidx.camera.core.CameraX.ErrorCode>
     ↳ androidx.camera.core.CameraX.ErrorCode


The types of error states that can occur.

Summary

Enum values

CameraX.ErrorCode  CAMERA_STATE_INCONSISTENT

The camera has moved into an unexpected state from which it can not recover from. 

CameraX.ErrorCode  USE_CASE_ERROR

A UseCase has encountered an error from which it can not recover from. 

Public methods

static CameraX.ErrorCode valueOf(String name)
static final ErrorCode[] values()

Inherited methods

Enum values

CAMERA_STATE_INCONSISTENT

public static final CameraX.ErrorCode CAMERA_STATE_INCONSISTENT

The camera has moved into an unexpected state from which it can not recover from.

USE_CASE_ERROR

public static final CameraX.ErrorCode USE_CASE_ERROR

A UseCase has encountered an error from which it can not recover from.

Public methods

valueOf

public static CameraX.ErrorCode valueOf (String name)

Parameters
name String

Returns
CameraX.ErrorCode

values

public static final ErrorCode[] values ()

Returns
ErrorCode[]