MediaDashboardPanelBase

@IviExperimental(reasons = [])
abstract class MediaDashboardPanelBase(val mediaFrontendContext: MediaFrontendContext) : MediaTaskPanel

A specialization of a MediaTaskPanel to display the list of media sources as a starting point of a stock media frontend.

Can be used to customize the media dashboard experience in the TomTom Digital Cockpit stock media player UI by replacing the stock dashboard.

Example: An example replacing the media dashboard with a custom dashboard can be found in the TomTom Digital Cockpit SDK, in the examples/media/customdashboard/ directory.

Parameters

mediaFrontendContext

Context in which the panel is to be opened. Entry point for to communicate with the frontend and the rest of the system.

Constructors

Link copied to clipboard
constructor(mediaFrontendContext: MediaFrontendContext)

Inherited properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: Long
Link copied to clipboard
Link copied to clipboard

Context in which the panel is to be opened. Most decisions should be taken using this state, such as using the panel mapping or the stack to decide which kind of panel to open next.

Link copied to clipboard

The media item that this panel is showing.

Link copied to clipboard
open override val requestsRemoval: LiveData<Boolean>
Link copied to clipboard
open val sourceId: SourceId?

Source ID tied to this panel.

Link copied to clipboard
val tag: String

Inherited functions

Link copied to clipboard
Link copied to clipboard
fun dismiss()
Link copied to clipboard
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun getLifecycle(): Lifecycle
Link copied to clipboard
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String