LocaleOptions

public class LocaleOptions implements Parcelable


Represents the Locale in a 3D map.

Summary

Public constructors

Default constructor for LocaleOptions, using the system default for both language and region.

Public methods

String

Gets the language to be set on the map.

String

Gets the region to be set on the map.

void
setLanguage(String language)

Sets the language to be set on the map.

void
setRegion(String region)

Sets the region to be set on the map.

void
writeToParcel(Parcel dest, int flags)

Inherited Constants

From android.os.Parcelable
static final int
static final int

Inherited methods

From android.os.Parcelable
abstract int

Public fields

language

public @NonNull String language

region

public @NonNull String region

Public constructors

LocaleOptions

public LocaleOptions()

Default constructor for LocaleOptions, using the system default for both language and region.

Public methods

getLanguage

public String getLanguage()

Gets the language to be set on the map.

getRegion

public String getRegion()

Gets the region to be set on the map.

setLanguage

public void setLanguage(String language)

Sets the language to be set on the map.

setRegion

public void setRegion(String region)

Sets the region to be set on the map.

writeToParcel

public void writeToParcel(Parcel dest, int flags)