set Language
Sets the SDK's internal language.
Use getSolutionInfo to get the current solution's available languages list (getAvailableLanguages)
By default, the SDK language can be:
- the solution's default language (getDefaultLanguage)
- the current device language, if the MapsIndoors data isn't available (ie: first app run without network access)
If the language is changed after MapsIndoors data has loaded you have to call synchronizeContent before it is applied
Note that the SDK language can be set before calling initialize:
MapsIndoors.setLanguage( "fr" );
MapsIndoors.initialize( getApplicationContext(), getString( R.string.mapsindoors_api_key ) );
Content copied to clipboard
Return
true
if the given language has been successfully set. It will return false if the given language wasn't found in the solution info's available languages or this was called while synchronizing the data (synchronizeContent().
Parameters
language
The language (any of the current solution's supported ones)
Throws
if the given language is null