android-components / mozilla.components.browser.search.provider.localization / LocaleSearchLocalizationProvider / region

region

val region: String? (source)

Overrides SearchLocalizationProvider.region

Optional actual location (region only) of the user/device. ISO 3166 alpha-2 country code or UN M.49 numeric-3 area code.

This value is used to customize the experience for users that use a languageTag that doesn't match their geographic region. For example a user in Russia with "en-US" languageTag might get offered an English version of Yandex if the region is set to "RU".

Can be null if no location information is available.