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 = 0Swift
case complete = 0 -
Processing didn’t finish, intermediate results may be obtained
Declaration
Objective-C
RGLDocReaderActionProcess = 1Swift
case process = 1 -
Processing of a page is completed, the next one can be processed
Declaration
Objective-C
RGLDocReaderActionMorePagesAvailable = 2Swift
case morePagesAvailable = 2 -
Processing was cancelled, incomplete results may be obtained
Declaration
Objective-C
RGLDocReaderActionCancel = 3Swift
case cancel = 3 -
An error occurred during processing, incomplete results may be obtained
Declaration
Objective-C
RGLDocReaderActionError = 4Swift
case error = 4 -
Processing of a hologram is started
Declaration
Objective-C
RGLDocReaderActionProcessWhiteFlashLight = 5Swift
case processWhiteFlashLight = 5 -
Processing is finished by timeout, intermediate results can be received. Processing finishes due to non-compliance with the image quality requirements
Declaration
Objective-C
RGLDocReaderActionProcessTimeout = 6Swift
case processTimeout = 6 -
Online processing is started
Declaration
Objective-C
RGLDocReaderActionProcessOnServer = 7Swift
case processOnServer = 7