# LocaleOptions


```
public class LocaleOptions implements Parcelable
```

<br />

*** ** * ** ***

Represents the `https://developer.android.com/reference/java/util/Locale.html` in a 3D map.

## Summary

| ### Public fields |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull.html https://developer.android.com/reference/java/lang/String.html` | `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/LocaleOptions#language()` |
| `@https://developer.android.com/reference/androidx/annotation/NonNull.html https://developer.android.com/reference/java/lang/String.html` | `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/LocaleOptions#region()` |

| ### Public constructors |
|---|
| `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/LocaleOptions#LocaleOptions()()` Default constructor for LocaleOptions, using the system default for both language and region. |

| ### Public methods |
|---|---|
| `https://developer.android.com/reference/java/lang/String.html` | `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/LocaleOptions#getLanguage()()` Gets the language to be set on the map. |
| `https://developer.android.com/reference/java/lang/String.html` | `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/LocaleOptions#getRegion()()` Gets the region to be set on the map. |
| `void` | `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/LocaleOptions#setLanguage(java.lang.String)(https://developer.android.com/reference/java/lang/String.html language)` Sets the language to be set on the map. |
| `void` | `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/LocaleOptions#setRegion(java.lang.String)(https://developer.android.com/reference/java/lang/String.html region)` Sets the region to be set on the map. |
| `void` | `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/LocaleOptions#writeToParcel(android.os.Parcel,int)(https://developer.android.com/reference/android/os/Parcel.html dest, int flags)` |

### Inherited Constants

From [android.os.Parcelable](https://developer.android.com/reference/android/os/Parcelable.html) `static final int` `https://developer.android.com/reference/android/os/Parcelable.html#CONTENTS_FILE_DESCRIPTOR = 1` `static final int` `https://developer.android.com/reference/android/os/Parcelable.html#PARCELABLE_WRITE_RETURN_VALUE = 1`

### Inherited methods

From [android.os.Parcelable](https://developer.android.com/reference/android/os/Parcelable.html) `abstract int` `https://developer.android.com/reference/android/os/Parcelable.html#describeContents()()`

## 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)
```