changeLanguage

open override fun changeLanguage(languageCode: String, cache: Boolean)

Changes the language of the venue. This will trigger a re-fetch of the venue data.

Return

Unit A callback with an MPIError if there was an error changing the language. An error is returned if the language is not configured in the venue.

Parameters

languageCode

The language code to change to.

cache

Whether or not to cache the current language so it doesn't need to be re-fetched.