MediaDescriptionCompat.Builder

public static final class MediaDescriptionCompat.Builder
extends Object

java.lang.Object
   ↳ android.support.v4.media.MediaDescriptionCompat.Builder


Builder for MediaDescriptionCompat objects.

Summary

Public constructors

Builder()

Creates an initially empty builder.

Public methods

MediaDescriptionCompat build()

Creates a MediaDescriptionCompat instance with the specified fields.

MediaDescriptionCompat.Builder setDescription(CharSequence description)

Sets the description.

MediaDescriptionCompat.Builder setExtras(Bundle extras)

Sets a bundle of extras.

MediaDescriptionCompat.Builder setIconBitmap(Bitmap icon)

Sets the icon.

MediaDescriptionCompat.Builder setIconUri(Uri iconUri)

Sets the icon uri.

MediaDescriptionCompat.Builder setMediaId(String mediaId)

Sets the media id.

MediaDescriptionCompat.Builder setMediaUri(Uri mediaUri)

Sets the media uri.

MediaDescriptionCompat.Builder setSubtitle(CharSequence subtitle)

Sets the subtitle.

MediaDescriptionCompat.Builder setTitle(CharSequence title)

Sets the title.