object FocusState


State constants for focus actions.

Summary

Constants

const Int
FAILED = 4

The focus action failed to complete.

const Int

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

const Int

The focus state is inactive or unknown.

const Int

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

const Int

A focus action has started but not completed.

Constants

FAILED

Added in 1.7.0-alpha02
const val FAILED = 4: Int

The focus action failed to complete.

FOCUSED

Added in 1.7.0-alpha02
const val FOCUSED = 2: Int

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

INACTIVE

Added in 1.7.0-alpha02
const val INACTIVE = 0: Int

The focus state is inactive or unknown.

NOT_FOCUSED

Added in 1.7.0-alpha02
const val NOT_FOCUSED = 3: Int

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

STARTED

Added in 1.7.0-alpha02
const val STARTED = 1: Int

A focus action has started but not completed.