abstract class SearchLocalizationProvider
(source)
Class providing language, country and optionally region (actual location) of the user/device to customize the search experience.
SearchLocalizationProvider()
Class providing language, country and optionally region (actual location) of the user/device to customize the search experience. |
abstract val country: String
ISO 3166 alpha-2 country code or UN M.49 numeric-3 area code. |
|
abstract val language: String
ISO 639 alpha-2 or alpha-3 language code, or registered language subtags up to 8 alpha letters (for future enhancements). |
|
val languageTag: String
Returns a language tag of the form -. |
|
abstract val region: String?
Optional actual location (region only) of the user/device. ISO 3166 alpha-2 country code or UN M.49 numeric-3 area code. |
class LocaleSearchLocalizationProvider : SearchLocalizationProvider
LocalizationProvider implementation that only provides the language and country from the system's default languageTag. |