Share via


MediaBrowser.GetItem(String, MediaBrowser+ItemCallback) Method

Definition

Retrieves a specific MediaItem from the connected service.

[Android.Runtime.Register("getItem", "(Ljava/lang/String;Landroid/media/browse/MediaBrowser$ItemCallback;)V", "", ApiSince=23)]
public void GetItem (string mediaId, Android.Media.Browse.MediaBrowser.ItemCallback cb);
[<Android.Runtime.Register("getItem", "(Ljava/lang/String;Landroid/media/browse/MediaBrowser$ItemCallback;)V", "", ApiSince=23)>]
member this.GetItem : string * Android.Media.Browse.MediaBrowser.ItemCallback -> unit

Parameters

mediaId
String

The id of the item to retrieve.

cb
MediaBrowser.ItemCallback

The callback to receive the result on.

Attributes

Remarks

Java documentation for android.media.browse.MediaBrowser.getItem(java.lang.String, android.media.browse.ItemCallback).

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