Interface SnSuggestListener


public interface SnSuggestListener
Listener for suggest operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Handles a notification that the suggest operation has just completed.
    void
    Handles a notification that the suggest operation failed (this may also be due to listeners failing).
    void
    Handles a notification that the suggest operation is about to begin execution.
  • Method Details

    • beforeSuggest

      void beforeSuggest(SnSuggestContext context) throws SnSuggestException
      Handles a notification that the suggest operation is about to begin execution.
      Parameters:
      context - - the suggest context
      Throws:
      SnSuggestException - if an error occurs
    • afterSuggest

      void afterSuggest(SnSuggestContext context) throws SnSuggestException
      Handles a notification that the suggest operation has just completed.
      Parameters:
      context - - the suggest context
      Throws:
      SnSuggestException - if an error occurs
    • afterSuggestError

      void afterSuggestError(SnSuggestContext context) throws SnSuggestException
      Handles a notification that the suggest operation failed (this may also be due to listeners failing).
      Parameters:
      context - - the suggest context
      Throws:
      SnSuggestException - if an error occurs