Language

MediaStore.Video.Media.GetContentUri Method

Definition

Overloads

Name Description
GetContentUri(String)

Get the content:// style URI for the video media table on the given volume.

GetContentUri(String, Int64)

Get the content:// style URI for a single row in the videos table on the given volume.

GetContentUri(String)

Get the content:// style URI for the video media table on the given volume.

[Android.Runtime.Register("getContentUri", "(Ljava/lang/String;)Landroid/net/Uri;", "")]
public static Android.Net.Uri? GetContentUri(string? volumeName);
[<Android.Runtime.Register("getContentUri", "(Ljava/lang/String;)Landroid/net/Uri;", "")>]
static member GetContentUri : string -> Android.Net.Uri

Parameters

volumeName
String

the name of the volume to get the URI for

Returns

Uri

the URI to the video media table on the given volume

Attributes

Remarks

Get the content:// style URI for the video media table on the given volume.

Android reference for android.provider.MediaStore.Video.Media.getContentUri.

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

GetContentUri(String, Int64)

Get the content:// style URI for a single row in the videos table on the given volume.

[Android.Runtime.Register("getContentUri", "(Ljava/lang/String;J)Landroid/net/Uri;", "", ApiSince=30)]
public static Android.Net.Uri GetContentUri(string volumeName, long id);
[<Android.Runtime.Register("getContentUri", "(Ljava/lang/String;J)Landroid/net/Uri;", "", ApiSince=30)>]
static member GetContentUri : string * int64 -> Android.Net.Uri

Parameters

volumeName
String

the name of the volume to get the URI for. This value cannot be null.

id
Int64

the video to get the URI for

Returns

Uri

the URI to the videos table on the given volume. This value cannot be null.

Attributes

Remarks

Android reference for android.provider.MediaStore.Video.Media.getContentUri.

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