diff --git a/_config.yml b/_config.yml index 61c9952..ae9ae7c 100644 --- a/_config.yml +++ b/_config.yml @@ -3,6 +3,8 @@ repository: dynamsoft-docs/camera-enhancer-docs docFullPath: https://www.dynamsoft.com/camera-enhancer/docs/core/ firstLevelUrl: /camera-enhancer/docs/core docHomePage: /camera-enhancer/docs/core/introduction/ +needSearchIndex: true +searchNeedFilter: true productUrl: https://www.dynamsoft.com/camera-enhancer/overview/ productName: Dynamsoft Camera Enhancer diff --git a/enums/camera-position.md b/enums/camera-position.md index 83d29c7..2fd6a20 100644 --- a/enums/camera-position.md +++ b/enums/camera-position.md @@ -31,13 +31,25 @@ public @interface EnumCameraPosition { ``` > ```objc -typedef NS_ENUM(NSInteger, DSCameraPosition) -{ - /** The back-facing camera. */ - DSCameraPositionBack = 0, - /** The front-facing camera. */ - DSCameraPositionFront = 1 -}; +typedef NS_ENUM(NSInteger, DSCameraPosition) { + /** + * The default back-facing camera. It is a wide-angle camera for general usage. + */ + DSCameraPositionBack, + /** + * The front-facing camera. + */ + DSCameraPositionFront, + /** + * The back-facing ultra-wide-angle camera. It is an ultra-wide-angle camera for macro-distance capturing. + */ + DSCameraPositionBackUltraWide API_AVAILABLE(ios(13.0)), + /** + * A back-facing virtual camera. It is a vitural camera that can switch between the wide-angle camera and the ultra-wide-angle camera automatically. + * Supported devices include: iPhone 13 Pro, iPhone 13 Pro Max, iPhone 14 Pro, iPhone 14 Pro Max, iPhone 15 Pro, iPhone 15 Pro Max. + */ + DSCameraPositionBackDualWideAuto API_AVAILABLE(ios(13.0)) +} NS_SWIFT_NAME(CameraPosition); ``` > ```swift @@ -46,5 +58,14 @@ public enum CameraPosition : Int{ back = 0 /** The front-facing camera. */ front = 1 + /** + * The back-facing ultra-wide-angle camera. It is an ultra-wide-angle camera for macro-distance capturing. + */ + backUltraWide = 2 + /** + * A back-facing virtual camera. It is a vitural camera that can switch between the wide-angle camera and the ultra-wide-angle camera automatically. + * Supported devices include: iPhone 13 Pro, iPhone 13 Pro Max, iPhone 14 Pro, iPhone 14 Pro Max, iPhone 15 Pro, iPhone 15 Pro Max. + * */ + backDualWideAuto = 3 } ```