GSKCameraSessionConfiguration
Objective-C
@interface GSKCameraSessionConfiguration : NSObject
Swift
class GSKCameraSessionConfiguration : NSObject
The output configuration for a camera session.
-
Declaration
Objective-C
- (nonnull instancetype)initWithDocumentDetection: (GSKCameraSessionDocumentDetection)documentDetection;Swift
init(documentDetection: GSKCameraSessionDocumentDetection)Parameters
documentDetectionThe type of real-time document detection to apply.
-
Undocumented
Declaration
Objective-C
- (instancetype)init;Swift
convenience init() -
Default is .highlightAndTrigger
Declaration
Objective-C
@property (nonatomic, readonly) GSKCameraSessionDocumentDetection documentDetection;Swift
var documentDetection: GSKCameraSessionDocumentDetection { get }
GSKCameraSessionConfiguration Class Reference