Condividi tramite


MediaBrowser.MediaItem Constructors

Definition

Overloads

MediaBrowser.MediaItem(MediaDescription, MediaItemFlags)

Create a new MediaItem for use in browsing media.

MediaBrowser.MediaItem(IntPtr, JniHandleOwnership)

MediaBrowser.MediaItem(MediaDescription, MediaItemFlags)

Create a new MediaItem for use in browsing media.

[Android.Runtime.Register(".ctor", "(Landroid/media/MediaDescription;I)V", "")]
public MediaItem (Android.Media.MediaDescription description, Android.Media.Browse.MediaItemFlags flags);
[<Android.Runtime.Register(".ctor", "(Landroid/media/MediaDescription;I)V", "")>]
new Android.Media.Browse.MediaBrowser.MediaItem : Android.Media.MediaDescription * Android.Media.Browse.MediaItemFlags -> Android.Media.Browse.MediaBrowser.MediaItem

Parameters

description
MediaDescription

The description of the media, which must include a media id.

flags
MediaItemFlags

The flags for this item.

Attributes

Remarks

Create a new MediaItem for use in browsing media.

Java documentation for android.media.browse.MediaBrowser.MediaItem.MediaBrowser$MediaItem(android.media.MediaDescription, int).

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

MediaBrowser.MediaItem(IntPtr, JniHandleOwnership)

protected MediaItem (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Media.Browse.MediaBrowser.MediaItem : nativeint * Android.Runtime.JniHandleOwnership -> Android.Media.Browse.MediaBrowser.MediaItem

Parameters

javaReference
IntPtr

nativeint

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