Class ReaderEventTranslator

  • All Implemented Interfaces:<Document>

    public class ReaderEventTranslator
    extends Object
    This class is used to show how messages (related to a document reading event) can be shown to the user

    If you want to deactivate document reading based events, just call t

    • Constructor Detail

      • ReaderEventTranslator

        public ReaderEventTranslator​(<Document> documentCallback)
    • Method Detail

      • onFailure

        public void onFailure​(Throwable caught)
        Specified by:
        onFailure in interface<Document>
      • onSuccess

        public void onSuccess​(Document result)
        Specified by:
        onSuccess in interface<Document>