DownloadManager.GetMimeTypeForDownloadedFile(Int64) DownloadManager.GetMimeTypeForDownloadedFile(Int64) Method

Definition

Returns the media type of the given downloaded file id, if the file was downloaded successfully.

[Android.Runtime.Register("getMimeTypeForDownloadedFile", "(J)Ljava/lang/String;", "GetGetMimeTypeForDownloadedFile_JHandler", ApiSince=11)]
public virtual string GetMimeTypeForDownloadedFile (long id);
abstract member GetMimeTypeForDownloadedFile : int64 -> string
override this.GetMimeTypeForDownloadedFile : int64 -> string

Parameters

id
Int64 Int64

the id of the downloaded file.

Returns

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to