activeTemplates

abstract val activeTemplates: MirrorableMap<VpaIdentifier, Template?>

The active Template (if any) for each VPA known to the system that should be rendered by the UI.

The key is the identifier of the VPA as given by VpaProperties.vpaIdentifier and the value is the active Template for that VPA or null if there is no active template.

Once the active template is no longer displayed in the UI, onActiveTemplateCleared should be called to notify the VPA service about it.

An entry for a particular VPA in the map is only guaranteed to exist and be valid and up-to-date if that VPA's availability state as given by vpaAvailabilityStates is VpaAvailabilityState.AVAILABLE.