nsISupports
Last changed in Gecko 1.7 Users call startSearch() and pass in an nsIAutoCompleteObserver when the search starts. Results can be sent to the listener either synchronously or asynchronously, depending on the implementation.
void startSearch(in AString searchString, in AString searchParam, in nsIAutoCompleteResult previousResult, in nsIAutoCompleteObserver listener); |
void stopSearch(); |
Search for a given string and notify a listener (either synchronously or asynchronously) of the result.
void startSearch( in AString searchString, in AString searchParam, in nsIAutoCompleteResult previousResult, in nsIAutoCompleteObserver listener );
searchStringsearchParampreviousResultnsIAutoCompleteResult to use for faster searching. Can be null.listenernsIAutoCompleteObserver listener to notify when the search is complete.Stop all searches that are in progress.
void stopSearch();
None.