Parameters

From nsIAddonRepository

 Begins a search for recommended add-ons in this repository. Results will
 be passed to the given callback.

 @param  aMaxResults  the maximum number of results to return
 @param  aCallback    the callback to pass results to
void retrieveRecommendedAddons(in unsigned long aMaxResults, in nsIAddonSearchResultsCallback aCallback)
 Begins a search for add-ons in this repository. Results will be passed to
 the given callback.

 @param  aSearchTerms  the terms to search for
 @param  aMaxResults   the maximum number of results to return
 @param  aCallback     the callback to pass results to
void searchAddons(in AString aSearchTerms, in unsigned long aMaxResults, in nsIAddonSearchResultsCallback aCallback)