FocusMode
Enumeration FocusMode describes the focus mode.
- Objective-C
- Swift
typedef NS_ENUM(NSInteger, DSFocusMode){ /** * Lock the focal length. */ DSFocusModeLocked = 1, /** * Enable the continuous auto-focus. */ DSFocusModeContinuousAuto = 2 };public enum FocusMode : Int{ /** * Lock the focal length. */ locked = 1 /** * Enable the continuous auto-focus. */ continuousAuto = 2 }