DocumentServiceProtocol
public protocol DocumentServiceProtocol : AnyObject
Undocumented
-
Undocumented
Declaration
Swift
var document: Document? { get set }
-
Undocumented
Declaration
Swift
var metadata: Document.Metadata? { get }
-
Undocumented
Declaration
Swift
var analysisCancellationToken: CancellationToken? { get set }
-
Undocumented
Declaration
Swift
func cancelAnalysis()
-
Undocumented
Declaration
Swift
func remove(document: GiniCaptureDocument)
-
Undocumented
Declaration
Swift
func resetToInitialState()
-
Undocumented
Declaration
Swift
func sendFeedback(with updatedExtractions: [Extraction], updatedCompoundExtractions: [String : [[Extraction]]]?)
-
Undocumented
Declaration
Swift
func startAnalysis(completion: @escaping AnalysisCompletion)
-
Undocumented
Declaration
Swift
func sortDocuments(withSameOrderAs documents: [GiniCaptureDocument])
-
Undocumented
Declaration
Swift
func upload(document: GiniCaptureDocument, completion: UploadDocumentCompletion?)
-
Undocumented
Declaration
Swift
func update(imageDocument: GiniImageDocument)
-
Undocumented
Declaration
Swift
func log(errorEvent: ErrorEvent)