open override fun getPanelContext(iviFragmentId: IviFragmentId): C

The PanelContext of an IviFragment identified by iviFragmentId.

IviFragment implementations can use IviFragment.getPanelContext.

A ViewModel of an IviFragment can use this method to provide information based on the PanelContext to a view. Android views created through IviFragment.onViewCreated, by default, can use the iviFragmentId data binding variable to obtain the IviFragmentId. Add the following to the view XML to obtain the iviFragmentId.

type="com.tomtom.ivi.platform.frontend.api.common.frontend.IviFragmentId" />

Note: This function may only be called while the IviFragment identified by iviFragmentId is attached to the system UI.