ColibrioMediaSessionMetadata

data class ColibrioMediaSessionMetadata(val title: String, val artist: String, val artwork: Bitmap?, val smallIconResId: Int?, val mediaSessionPendingIntent: PendingIntent) : Parcelable

Holds the properties used for configuring the metadata of the media session.

Constructors

Link copied to clipboard
fun ColibrioMediaSessionMetadata(title: String, artist: String, artwork: Bitmap?, smallIconResId: Int?, mediaSessionPendingIntent: PendingIntent)

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard

The artist property provided in the media session metadata.

Link copied to clipboard

The artwork property provided in the media session metadata.

Link copied to clipboard

The intent for launching UI for this Session. This can be used as a quick link to an ongoing media screen. The intent should be for an activity that may be started using Activity.startActivity(Intent).

Link copied to clipboard

The small icon used in the shown notification.

Link copied to clipboard

The title property provided in the media session metadata.