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

Preview.UseCaseError

public static final enum Preview.UseCaseError
extends Enum<Preview.UseCaseError>

java.lang.Object
   ↳ java.lang.Enum<androidx.camera.core.Preview.UseCaseError>
     ↳ androidx.camera.core.Preview.UseCaseError


Describes the error that occurred during preview operation.

Summary

Enum values

Preview.UseCaseError  UNKNOWN_ERROR

Unknown error occurred. 

Public methods

static Preview.UseCaseError valueOf(String name)
static final UseCaseError[] values()

Inherited methods

Enum values

UNKNOWN_ERROR

public static final Preview.UseCaseError UNKNOWN_ERROR

Unknown error occurred. See message or log for more details.

Public methods

valueOf

public static Preview.UseCaseError valueOf (String name)

Parameters
name String

Returns
Preview.UseCaseError

values

public static final UseCaseError[] values ()

Returns
UseCaseError[]