getMediaObject ( SearchResults ...)

format

public MediaObject getMediaObject( SearchResults sr ) throws Exception

description

Retrieves the MediaObject referenced by the SearchResults object.

parameters

sr - a SearchResults object that references a MediaObject

returns

the requested MediaObject, if it exists

throws

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