Share via


MediaStore.GetVolumeName(Uri) Method

Definition

Return the volume name that the given Uri references.

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

Parameters

uri
Uri

Returns

Attributes

Remarks

Return the volume name that the given Uri references.

Java documentation for android.provider.MediaStore.getVolumeName(android.net.Uri).

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