public static class FocusState


State constants for focus actions.

Summary

Constants

static final int
FAILED = 4

The focus action failed to complete.

static final int

The focus action was completed successfully and the camera is focused.

static final int

The focus state is inactive or unknown.

static final int

The focus action was completed successfully but the camera is still unfocused.

static final int

A focus action has started but not completed.

Public fields

static @NonNull FocusState

Constants

FAILED

Added in 1.7.0-alpha02
public static final int FAILED = 4

The focus action failed to complete.

FOCUSED

Added in 1.7.0-alpha02
public static final int FOCUSED = 2

The focus action was completed successfully and the camera is focused.

INACTIVE

Added in 1.7.0-alpha02
public static final int INACTIVE = 0

The focus state is inactive or unknown.

NOT_FOCUSED

Added in 1.7.0-alpha02
public static final int NOT_FOCUSED = 3

The focus action was completed successfully but the camera is still unfocused.

STARTED

Added in 1.7.0-alpha02
public static final int STARTED = 1

A focus action has started but not completed.

Public fields

INSTANCE

Added in 1.7.0-alpha02
public static @NonNull FocusState INSTANCE