Megosztás a következőn keresztül:


MediaStore.Video.Media.GetContentUri Method

Definition

Overloads

GetContentUri(String)

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

GetContentUri(String, Int64)

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
Attributes

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

GetContentUri(String, Int64)

[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
id
Int64

Returns

Uri
Attributes

Applies to