Package | com.myflashlab.air.extensions.ar |
Class | public class CameraFocusMode |
Inheritance | CameraFocusMode Object |
Constant | Defined By | ||
---|---|---|---|
CONTINUOUS : int = 1 [static]
The camera will continuously try to find the best focus. | CameraFocusMode | ||
OFF : int = 2 [static]
iOS: Indicates that the focus should be locked at the lens' current position. | CameraFocusMode | ||
ONCE : int = 0 [static]
The camera focuses once automatically and then stays at this focus until the camera is stopped or a new
focus mode is set
| CameraFocusMode |
CONTINUOUS | Constant |
public static const CONTINUOUS:int = 1
The camera will continuously try to find the best focus.
OFF | Constant |
public static const OFF:int = 2
iOS: Indicates that the focus should be locked at the lens' current position.
Android: OFF Has different meanings based on which camera API is used. For the deprecated camera api the camera will fix the focus, which is usually at hyperfocal distance. For the camera2 API the auto-focus routine does not control the lens, the focus distance can be controlled on devices which support manual focus. If manual focus is not supported or no focus distance is set it will be set to infinity focus.
ONCE | Constant |
public static const ONCE:int = 0
The camera focuses once automatically and then stays at this focus until the camera is stopped or a new focus mode is set