GiniCaptureDocumentValidator
public final class GiniCaptureDocumentValidator
Undocumented
-
Undocumented
Declaration
Swift
public static var maxPagesCount: Int { get }
-
Validates a document. The validation process is done in the global
DispatchQueue
. Also it is possible to add custom validations in theGiniConfiguration.customDocumentValidations
closure.Throws
DocumentValidationError.exceededMaxFileSize
is thrown if the document is not valid.Declaration
Swift
public class func validate(_ document: GiniCaptureDocument, withConfig giniConfiguration: GiniConfiguration) throws