SearchProvider Methods 
Returns an array of search providers available for the current user, and passes this array to the specified callback function
Parameter |
Description |
callback |
The callback function to which the array is passed |
Sets the specified search provider as default
Parameter |
Description |
key |
The key of the search provider |
Returns the default search provider
Registers a notification function to call when the search provider is set as default
Parameter |
Description |
callback |
The notification function to call when the search provider is set as default |
Performs search according to the specified term, search provider, search type and category
Parameter |
Description |
term |
The term to search for |
searchProvider |
The SearchProvider object that should perform the search |
searchType |
The SearchType object of the search provider, such as basic or advanced, defined by custom implementation |
searchCategory |
The category in which to search for the specified term |