Resource Base
Table of contents

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
}

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: