RGLDocReaderAction

Objective-C

enum RGLDocReaderAction : NSInteger {}

Swift

enum DocReaderAction : Int, @unchecked Sendable

Enum contains all possible notification codes about reading process

  • Processing finished, the results were received

    Declaration

    Objective-C

    RGLDocReaderActionComplete = 0

    Swift

    case complete = 0
  • Processing didn’t finish, intermediate results may be obtained

    Declaration

    Objective-C

    RGLDocReaderActionProcess = 1

    Swift

    case process = 1
  • Processing of a page is completed, the next one can be processed

    Declaration

    Objective-C

    RGLDocReaderActionMorePagesAvailable = 2

    Swift

    case morePagesAvailable = 2
  • Processing was cancelled, incomplete results may be obtained

    Declaration

    Objective-C

    RGLDocReaderActionCancel = 3

    Swift

    case cancel = 3
  • An error occurred during processing, incomplete results may be obtained

    Declaration

    Objective-C

    RGLDocReaderActionError = 4

    Swift

    case error = 4
  • Processing of a hologram is started

    Declaration

    Objective-C

    RGLDocReaderActionProcessWhiteFlashLight = 5

    Swift

    case processWhiteFlashLight = 5
  • Processing is finished by timeout, intermediate results can be received

    Declaration

    Objective-C

    RGLDocReaderActionProcessTimeout = 6

    Swift

    case processTimeout = 6
  • Online processing is started

    Declaration

    Objective-C

    RGLDocReaderActionProcessOnServer = 7

    Swift

    case processOnServer = 7