Page tree
Skip to end of metadata
Go to start of metadata

Usage of Device Language support commands are given below.

getDeviceSupportedLanguages()

Supported in iOS Supported in Android

Description

Returns all of the device's supported languages.

Code Example

String[] languages = client.getDeviceSupportedLanguages();

getDeviceLanguage()

Supported in iOS Supported in Android

Description

Returns the device's current language.

Code Example

String language = client.getDeviceLanguage();

setDeviceLanguage()

Supported in iOS Supported in Android

Description

Updates the device's current language

Code Example

client.setDeviceLanguage("fr");
  • No labels