getMediaObject (SearchResults)

format

MediaObject getMediaObject(SearchResults searchResults) throws EveException

 

MediaObject getMediaObject(SearchResults searchResult,CommandList beforeMethods,CommandList afterMethods) throws EveException

description

Retrieves the MediaObject referenced by the SearchResults object.

parameters

searchResults - a SearchResults object that references a MediaObject

 

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

returns

the requested MediaObject, if it exists

throws

The getMediaObject() method throws an EveException if the retrieval fails.