get_media_from_uri_sync


Description:

[ Version ( since = "0.2.0" ) ]
public Media get_media_from_uri_sync (string uri, List<KeyID> keys, OperationOptions options) throws Error

Creates an instance of Media representing the media resource exposed at uri.

It is recommended to call test_media_from_uri before invoking this to check whether the target source can theoretically do the resolution.

This method is synchronous.

Parameters:

this

a source

uri

A URI that can be used to identify a media resource

keys

a list of keys to resolve

options

options wanted for that operation

Returns:

a filled Media