Skip to content


DocReaderAction enumeration contains all possible notification codes about reading process.

class DocReaderAction {
  static const int COMPLETE = 1;
  static const int PROCESS = 0;
  static const int CANCEL = 2;
  static const int ERROR = 3;
  static const int NOTIFICATION = 5;
  static const int PROCESS_WHITE_UV_IMAGES = 6;
  static const int MORE_PAGES_AVAILABLE = 8;
Constant Description
COMPLETE Processing finished, the results were received
PROCESS Processing didn't finish, intermediate results may be obtained
CANCEL Processing was cancelled, incomplete results may be obtained
ERROR An error occurred during processing, incomplete results may be obtained
NOTIFICATION Notification from long running task arrived, DocumentReaderNotification available, all other results are null
MORE_PAGES_AVAILABLE Processing completed for a single page