search (MediaObject, SearchParameters)


SearchResults[] search(MediaObject eve,SearchParameters parameters)
throws EveException


SearchResults[] search(MediaObject eve,SearchParameters parameters,CommandList beforeMethods,CommandList afterMethods) throws EveException


Performs a search against the MediaCollection using the given MediaObject as a source. For more information on SearchParameters objects, see the SearchParameters section.


eve - the MediaObject to use as the source image for the search


parameters - the SearchParameters object containing the arguments to the search


CommandList beforeMethods — indicates that you want to run a command method(s) before the method is invoked


CommandList afterMethods — indicates that you want to run a command method(s) after the method is executed


an array of SearchResults objects


The search() method throws an EveException if the search fails.