android.hardware.camera2
API for new
applications.@Deprecated public static interface Camera.AutoFocusMoveCallback
This is only supported in continuous autofocus modes -- Camera.Parameters.FOCUS_MODE_CONTINUOUS_VIDEO
and Camera.Parameters.FOCUS_MODE_CONTINUOUS_PICTURE
. Applications can show
autofocus animation based on this.
Modifier and Type | Method and Description |
---|---|
void |
onAutoFocusMoving(boolean start,
Camera camera)
Deprecated.
Called when the camera auto focus starts or stops.
|
void onAutoFocusMoving(boolean start, Camera camera)
start
- true if focus starts to move, false if focus stops to movecamera
- the Camera service object