Aracılığıyla paylaş


MediaStore.Files.GetContentUri Method

Definition

Overloads

GetContentUri(String)

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

GetContentUri(String, Int64)

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

GetContentUri(String)

Get the content:// style URI for the files 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)

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

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

Parameters

volumeName
String

the name of the volume to get the URI for

rowId
Int64

the file 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