MediaMainProcessPanelBase

@IviExperimental(reasons = [])
abstract class MediaMainProcessPanelBase(val mediaFrontendContext: MediaFrontendContext, priority: MainProcessPanel.Priority = Priority.LOW) : MainProcessPanel

The mini player panel is the MainProcessPanel made to always have media playback controls at hand even when the media frontend is not open.

Contains all playback controls which need to always be visible when using the media frontend. The mini player is similar to the MediaTaskProcessPanelBase shown in TaskProcessPanel.

This base class can be used to customize the media mini player experience in the TomTom Digital Cockpit stock media player UI by replacing it.

Example: An example replacing the media mini player fragment with a custom one can be found in the guide: Custom media process panels

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.

priority

The initial Priority level of the panel. See MainProcessPanel for more details.

Constructors

Link copied to clipboard
constructor(mediaFrontendContext: MediaFrontendContext, priority: MainProcessPanel.Priority = Priority.LOW)

Properties

Inherited properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: Long
Link copied to clipboard
Link copied to clipboard
open override val lifecycle: Lifecycle
Link copied to clipboard
Link copied to clipboard
val tag: String

Inherited functions

Link copied to clipboard
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun getPanelContext(iviFragmentId: IviFragmentId): CommonPanelContext
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
open override fun toString(): String