次の方法で共有


MediaStore.Downloads.GetContentUri Method

Definition

Overloads

GetContentUri(String)
GetContentUri(String, Int64)

GetContentUri(String)

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

Parameters

volumeName
String

Returns

Uri
Attributes

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