ExtensionsErrorListener.ExtensionsErrorCode

public static final enum ExtensionsErrorListener.ExtensionsErrorCode
extends Enum<ExtensionsErrorListener.ExtensionsErrorCode>

java.lang.Object
   ↳ java.lang.Enum<androidx.camera.extensions.ExtensionsErrorListener.ExtensionsErrorCode>
     ↳ androidx.camera.extensions.ExtensionsErrorListener.ExtensionsErrorCode


Types of error when extensions function is enabled.

Summary

Enum values

ExtensionsErrorListener.ExtensionsErrorCode  IMAGE_CAPTURE_EXTENSION_REQUIRED

ImageCapture extension is required to enable when Preview extension is enabled. 

ExtensionsErrorListener.ExtensionsErrorCode  MISMATCHED_EXTENSIONS_ENABLED

Mismatched ImageCapture/Preview extensions are enabled. 

ExtensionsErrorListener.ExtensionsErrorCode  PREVIEW_EXTENSION_REQUIRED

Preview extension is required to enable when ImageCapture extension is enabled. 

ExtensionsErrorListener.ExtensionsErrorCode  UNKNOWN

Unknown error. 

Public methods

static ExtensionsErrorListener.ExtensionsErrorCode valueOf(String name)
static final ExtensionsErrorCode[] values()

Inherited methods

Enum values

IMAGE_CAPTURE_EXTENSION_REQUIRED

public static final ExtensionsErrorListener.ExtensionsErrorCode IMAGE_CAPTURE_EXTENSION_REQUIRED

ImageCapture extension is required to enable when Preview extension is enabled.

MISMATCHED_EXTENSIONS_ENABLED

public static final ExtensionsErrorListener.ExtensionsErrorCode MISMATCHED_EXTENSIONS_ENABLED

Mismatched ImageCapture/Preview extensions are enabled.

PREVIEW_EXTENSION_REQUIRED

public static final ExtensionsErrorListener.ExtensionsErrorCode PREVIEW_EXTENSION_REQUIRED

Preview extension is required to enable when ImageCapture extension is enabled.

UNKNOWN

public static final ExtensionsErrorListener.ExtensionsErrorCode UNKNOWN

Unknown error.

Public methods

valueOf

public static ExtensionsErrorListener.ExtensionsErrorCode valueOf (String name)

Parameters
name String

Returns
ExtensionsErrorListener.ExtensionsErrorCode

values

public static final ExtensionsErrorCode[] values ()

Returns
ExtensionsErrorCode[]