updateActiveLocales

open suspend fun updateActiveLocales(locales: List<Locale>)

Asks the VPA to update the active locales. These are the languages that will be spoken and recognized by the VPA.

Parameters

locales

The list of new active locales. It needs to be either a single element out of the VpaProperties.supportedLocales or one of the VpaProperties.supportedLocaleCombinations. The order in the list defines the priority of the language used by the VPA, if the VPA supports prioritization of active locales.