DSCapabilities
The DSCapabilities
class represents the capability properties of the hardware, including the maximum zoom factor, focal length, exposure time, and ISO.
Definition
Assembly: DynamsoftCore.xcframework
- Objective-C
- Swift
@interface DSCapabilities : NSObject
class Capabilities : NSObject
Attributes
Attributes | Type | Description |
---|---|---|
maxZoomFactor |
CGFloat | The maximum zoom factor. |
minFocalLength |
CGFloat | The minimum focal length. |
maxFocalLength |
CGFloat | The maximum focal length. |
minExposureTime |
CMTime | The minimum exposure time. |
maxExposureTime |
CMTime | The maximum exposure time. |
minISO |
CGFloat | The minimum ISO. |
maxISO |
CGFloat | The maximum ISO. |
maxZoomFactor
The maximum zoom factor.
- Objective-C
- Swift
@property(nonatomic, readonly) CGFloat maxZoomFactor;
var maxZoomFactor: CGFloat { get }
minFocalLength
The minimum focal length.
- Objective-C
- Swift
@property(nonatomic, readonly) CGFloat minFocalLength;
var minFocalLength: CGFloat { get }
maxFocalLength
The maximum focal length.
- Objective-C
- Swift
@property(nonatomic, readonly) CGFloat maxFocalLength;
var maxFocalLength: CGFloat { get }
minExposureTime
The minimum exposure time.
- Objective-C
- Swift
@property(nonatomic, readonly) CMTime minExposureTime;
var minExposureTime: CMTime { get }
maxExposureTime
The maximum exposure time.
- Objective-C
- Swift
@property(nonatomic, readonly) CMTime maxExposureTime;
var maxExposureTime: CMTime { get }
minISO
The minimum ISO.
- Objective-C
- Swift
@property(nonatomic, readonly) CGFloat minISO;
var minISO: CGFloat { get }
maxISO
The maximum ISO.
- Objective-C
- Swift
@property(nonatomic, readonly) CGFloat maxISO;
var maxISO: CGFloat { get }