get_media_from_uri
Description:
[ Version ( since = "0.2.0" ) ]
public uint get_media_from_uri (string uri, List<KeyID> keys, OperationOptions options, SourceResolveCb callback)
public uint get_media_from_uri (string uri, List<KeyID> keys, OperationOptions options, SourceResolveCb callback)
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 asynchronous.
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 |
callback |
the user defined callback |
user_data |
the user data to pass in the callback |
Returns:
the operation identifier |