setMapsIndoorsLanguage function
Sets the SDK's internal language.
By default, the SDK language can be:
- the solution's default language ([MPSolution.defaultLanguage])
- the current device language, if the MapsIndoors data isn't available (ie: first app run without network access)
language must resolve to one of getMapsIndoorsAvailableLanguages.
It can be changed at any time, before or after loadMapsIndoors. Content then reloads asynchronously, so getLocations can briefly return stale or empty results afterwards.
The result is Android-only; iOS always resolves to null.
Implementation
Future<bool?> setMapsIndoorsLanguage(String language) =>
MapsindoorsPlatform.instance.setLanguage(language);