Skip to content

Commit 6e73c4c

Browse files
authored
Merge pull request #297 from dynamsoft-docs/preview
update to internal commit ec0e9c16
2 parents 54739ba + 20cdab4 commit 6e73c4c

File tree

2 files changed

+30
-7
lines changed

2 files changed

+30
-7
lines changed

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ repository: dynamsoft-docs/camera-enhancer-docs
33
docFullPath: https://www.dynamsoft.com/camera-enhancer/docs/core/
44
firstLevelUrl: /camera-enhancer/docs/core
55
docHomePage: /camera-enhancer/docs/core/introduction/
6+
needSearchIndex: true
7+
searchNeedFilter: true
68

79
productUrl: https://www.dynamsoft.com/camera-enhancer/overview/
810
productName: Dynamsoft Camera Enhancer

enums/camera-position.md

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,25 @@ public @interface EnumCameraPosition {
3131
```
3232
>
3333
```objc
34-
typedef NS_ENUM(NSInteger, DSCameraPosition)
35-
{
36-
/** The back-facing camera. */
37-
DSCameraPositionBack = 0,
38-
/** The front-facing camera. */
39-
DSCameraPositionFront = 1
40-
};
34+
typedef NS_ENUM(NSInteger, DSCameraPosition) {
35+
/**
36+
* The default back-facing camera. It is a wide-angle camera for general usage.
37+
*/
38+
DSCameraPositionBack,
39+
/**
40+
* The front-facing camera.
41+
*/
42+
DSCameraPositionFront,
43+
/**
44+
* The back-facing ultra-wide-angle camera. It is an ultra-wide-angle camera for macro-distance capturing.
45+
*/
46+
DSCameraPositionBackUltraWide API_AVAILABLE(ios(13.0)),
47+
/**
48+
* 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.
49+
* Supported devices include: iPhone 13 Pro, iPhone 13 Pro Max, iPhone 14 Pro, iPhone 14 Pro Max, iPhone 15 Pro, iPhone 15 Pro Max.
50+
*/
51+
DSCameraPositionBackDualWideAuto API_AVAILABLE(ios(13.0))
52+
} NS_SWIFT_NAME(CameraPosition);
4153
```
4254
>
4355
```swift
@@ -46,5 +58,14 @@ public enum CameraPosition : Int{
4658
back = 0
4759
/** The front-facing camera. */
4860
front = 1
61+
/**
62+
* The back-facing ultra-wide-angle camera. It is an ultra-wide-angle camera for macro-distance capturing.
63+
*/
64+
backUltraWide = 2
65+
/**
66+
* 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.
67+
* Supported devices include: iPhone 13 Pro, iPhone 13 Pro Max, iPhone 14 Pro, iPhone 14 Pro Max, iPhone 15 Pro, iPhone 15 Pro Max.
68+
* */
69+
backDualWideAuto = 3
4970
}
5071
```

0 commit comments

Comments
 (0)