GSKCameraSessionConfiguration

@interface GSKCameraSessionConfiguration : NSObject

The output configuration for a camera session.

  • Declaration

    Objective-C

    - (nonnull instancetype)initWithDocumentDetection:
        (GSKCameraSessionDocumentDetection)documentDetection;

    Swift

    init(documentDetection: GSKCameraSessionDocumentDetection)

    Parameters

    documentDetection

    The type of real-time document detection to apply.

  • Default is .highlightAndTrigger

    Declaration

    Objective-C

    @property (nonatomic, readonly)
        GSKCameraSessionDocumentDetection documentDetection;

    Swift

    var documentDetection: GSKCameraSessionDocumentDetection { get }