MediaFrontendContext
constructor(frontendContext: FrontendContext, panelStack: LiveData<out List<MediaTaskPanel>>, mediaConfiguration: MediaConfiguration, mediaService: MediaServiceApi, mediaFrontendNavigation: MediaFrontendContext.MediaFrontendNavigation, errorCallback: ErrorCallback)
Parameters
frontendContext
Base FrontendContext. Used to access IVI services.
mediaConfiguration
The configuration of the Frontend. This includes the mapping of SourceId to panel factories, and which MediaControls to use.
mediaService
Reference to the MediaServiceApi based on the MediaService IVI service interface, for ease of access.
mediaFrontendNavigation
Interface to navigate within the media frontend.
errorCallback
Callback container to report media browsing errors to the frontend; necessary since only the frontend can best decide on how to respond to error conditions in different situations.