WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIAddonSearchResultsCallback

IID:a6f70917-dd30-4eb6-8b3d-453204f96f33
Inherits From:nsISupports

Methods

void searchFailed ( ) void searchSucceeded ( nsIAddonSearchResult addons , PRUint32 addonCount , PRUint32 totalResults )

void searchFailed ( )

Called when an error occured when performing a search.


void searchSucceeded ( nsIAddonSearchResult addons , PRUint32 addonCount , PRUint32 totalResults )

Called when a search has suceeded.

Arguments:
addons: an array of the add-on results. In the case of searching for specific terms the ordering of results may be determined by the search provider.
addonCount: The length of addons
totalResults: The total results actually available in the repository

References

This interface is passed as an argument to the following methods:

nsIAddonRepository.retrieveRecommendedAddons, nsIAddonRepository.searchAddons

Reference documentation is generated from Mozilla's source.