com.aspose.ocr

## Class INotifier

- java.lang.Object
- - com.aspose.ocr.INotifier

-     public abstract class INotifier
      extends Object

  This class represents a notifier. Each notifier can send event (recognized word, recognized several characters).

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected NotifierHandler` | `ElapsedDelegate` Occurs when the event has raised.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addElapsedListener(NotifierHandler listener)` Adds a listener to the event
    `abstract IRecognizedText` | `getText()` Gets the recognized text.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### ElapsedDelegate

          protected NotifierHandler ElapsedDelegate

      Occurs when the event has raised.

  - ### Method Detail

    - #### addElapsedListener

          public void addElapsedListener(NotifierHandler listener)

      Adds a listener to the event
      Parameters:
        `listener` - The listener to add.

    - #### getText

          public abstract IRecognizedText getText()

      Gets the recognized text. This is only part of the recognized text is processed between the two raising of events.
      Returns:
        the recognized text

Copyright © 2014. All rights reserved.