Android.App.DownloadManager.GetUriForDownloadedFile Method
Returns the Android.Net.Uri of the given downloaded file id, if the file is downloaded successfully.

Syntax

[Android.Runtime.Register("getUriForDownloadedFile", "(J)Landroid/net/Uri;", "GetGetUriForDownloadedFile_JHandler")]
public virtual Android.Net.Uri GetUriForDownloadedFile (long id)

Parameters

id
the id of the downloaded file.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the Android.Net.Uri of the given downloaded file id, if the file is downloaded successfully. Otherwise, null is returned.

If the specified downloaded file is in external storage (for example, /sdcard dir), then it is assumed to be safe for anyone to read and the returned Android.Net.Uri corresponds to the filepath on sdcard.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11