Udostępnij za pośrednictwem


MediaStore.Audio.Genres.GetContentUriForAudioId(String, Int32) Method

Definition

Get the content:// style URI for querying the genres of an audio file.

[Android.Runtime.Register("getContentUriForAudioId", "(Ljava/lang/String;I)Landroid/net/Uri;", "")]
public static Android.Net.Uri? GetContentUriForAudioId (string? volumeName, int audioId);
[<Android.Runtime.Register("getContentUriForAudioId", "(Ljava/lang/String;I)Landroid/net/Uri;", "")>]
static member GetContentUriForAudioId : string * int -> Android.Net.Uri

Parameters

volumeName
String

the name of the volume to get the URI for

audioId
Int32

the ID of the audio file for which to retrieve the genres

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