MediaStore.Audio.Media.GetContentUri Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetContentUri(String) |
Get the content:// style URI for the audio media table on the given volume. |
GetContentUri(String, Int64) |
GetContentUri(String)
Get the content:// style URI for the audio 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
- 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
- Attributes