Progress

public enum Progress : String, Decodable

The possible states of documents. The availability of a document’s extractions, layout and preview images are depending on the document’s progress.

  • Indicates that the document is fully processed. Preview images, extractions and the layout are available.

    Declaration

    Swift

    case completed = "COMPLETED"
  • Indicates that the document is not fully processed yet. There are no extractions, layout or preview images available.

    Declaration

    Swift

    case pending = "PENDING"
  • The document is processed, but there was an error during processing, so it is very likely that neither the extractions, layout or preview images are available

    Declaration

    Swift

    case error = "ERROR"