Class SalienceCallback

java.lang.Object
com.lexalytics.salience.SalienceCallback

public abstract class SalienceCallback
extends java.lang.Object

The SalienceCallback class provides a method for receiving callback messages from the underlying API during certain operations.

  • Constructor Summary

    Constructors 
    Constructor Description
    SalienceCallback()  
  • Method Summary

    Modifier and Type Method Description
    abstract void call​(int nErrorLevel, java.lang.String errorMessage)
    Specifies a method that can receive callback messages from the underlying API.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • call

      public abstract void call​(int nErrorLevel, java.lang.String errorMessage)
      Specifies a method that can receive callback messages from the underlying API.
      Parameters:
      nErrorLevel - An integer value providing a classification for the error.
      errorMessage - A String providing descriptive error or informational message.