Android Guides | Samples

Android.Media.MediaDescription Class

A simple set of metadata for a media item suitable for display.

See Also: MediaDescription

Syntax

[Android.Runtime.Register("android/media/MediaDescription", DoNotGenerateAcw=true)]
public class MediaDescription : Object, IParcelable, IDisposable

Remarks

A simple set of metadata for a media item suitable for display. This can be created using the Builder or retrieved from existing metadata using MediaMetadata.Description.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Media.MediaDescription are listed below.

See Also: Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
static
CreatorIParcelableCreator.
[read-only]
DescriptionString.
[read-only]
DescriptionFormattedICharSequence. Returns a description suitable for display or null.
[read-only]
ExtrasBundle. Returns any extras that were added to the description.
[read-only]
IconBitmapBitmap. Returns a bitmap icon suitable for display or null.
[read-only]
IconUriUri. Returns a Uri for an icon suitable for display or null.
[read-only]
MediaIdString. Returns the media id or null.
[read-only]
SubtitleString.
[read-only]
SubtitleFormattedICharSequence. Returns a subtitle suitable for display or null.
[read-only]
TitleString.
[read-only]
TitleFormattedICharSequence. Returns a title suitable for display or null.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

DescribeContents() : Int32
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
WriteToParcel(Parcel, ParcelableWriteFlags)
Flatten this object in to a Parcel.