getPlatformLocale static method

String getPlatformLocale()

Retrieves the platform locale.

Returns the platform's locale as a string.

Example:

String platformLocale = EaseDevice.getPlatformLocale();

Implementation

static String getPlatformLocale() {
  return Platform.localeName;
}