Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
35 changes: 28 additions & 7 deletions enums/camera-position.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}
```