最終更新:2017-03-07 (火) 07:50:24 (2608d)  

CaptureResult.CONTROL_AF_STATE
Top / CaptureResult.CONTROL_AF_STATE

https://developer.android.com/reference/android/hardware/camera2/CaptureResult.html#CONTROL_AF_STATE

プレビュー時

  • 1
    2
    6

  • android.hardware.camera2.CameraMetadataから継承した値
    0CameraMetadata.CONTROL_AF_STATE_INACTIVE?AF is off or has not yet tried to scan/been asked to scan.
    1CameraMetadata.CONTROL_AF_STATE_PASSIVE_SCAN?AF is currently performing an AF scan initiated the camera device in a continuous autofocus mode.
    2CameraMetadata.CONTROL_AF_STATE_PASSIVE_FOCUSED?AF currently believes it is in focus, but may restart scanning at any time.
    3CameraMetadata.CONTROL_AF_STATE_ACTIVE_SCAN?AF is performing an AF scan because it was triggered by AF trigger.
    4CameraMetadata.CONTROL_AF_STATE_FOCUSED_LOCKED?AF believes it is focused correctly and has locked
    5CameraMetadata.CONTROL_AF_STATE_NOT_FOCUSED_LOCKED?AF has failed to focus successfully and has locked focus.
    6CameraMetadata.CONTROL_AF_STATE_PASSIVE_UNFOCUSED?AF finished a passive scan without finding focus,