Public Member Functions

nsIAddonSearchResultsCallback Interface Reference

import "nsIAddonRepository.idl";

List of all members.

Public Member Functions

void searchSucceeded ([array, size_is(aAddonCount)] in nsIAddonSearchResult aAddons, in unsigned long aAddonCount, in unsigned long aTotalResults)
 Called when a search has suceeded.
void searchFailed ()
 Called when an error occured when performing a search.

Member Function Documentation

void nsIAddonSearchResultsCallback::searchFailed (  ) 

Called when an error occured when performing a search.

void nsIAddonSearchResultsCallback::searchSucceeded ( [array, size_is(aAddonCount)] in nsIAddonSearchResult  aAddons,
in unsigned long  aAddonCount,
in unsigned long  aTotalResults 
)

Called when a search has suceeded.

Parameters:
aAddons 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.
aAddonCount The length of aAddons
aTotalResults The total results actually available in the repository

The documentation for this interface was generated from the following file: