@@ -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