Interface SnSuggestListener
public interface SnSuggestListener
Listener for suggest operations.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidafterSuggest(SnSuggestContext context) Handles a notification that the suggest operation has just completed.default voidafterSuggestError(SnSuggestContext context) Handles a notification that the suggest operation failed (this may also be due to listeners failing).default voidbeforeSuggest(SnSuggestContext context) Handles a notification that the suggest operation is about to begin execution.
-
Method Details
-
beforeSuggest
Handles a notification that the suggest operation is about to begin execution.- Parameters:
context- - the suggest context- Throws:
SnSuggestException- if an error occurs
-
afterSuggest
Handles a notification that the suggest operation has just completed.- Parameters:
context- - the suggest context- Throws:
SnSuggestException- if an error occurs
-
afterSuggestError
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
-