CountryCodeType enum
Enum for country code type. 国家码来源类型。 See also: https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-location-kit/js-apis-geoLocationManager.md#countrycodetype
Values
- countryCodeFromLocale → const CountryCodeType
-
Country code obtained from the locale setting. 从全球化模块的语言配置信息中获取到的国家码。
- countryCodeFromSim → const CountryCodeType
-
Country code obtained from the SIM information. 从SIM卡中获取到的国家码。
- countryCodeFromLocation → const CountryCodeType
-
Query the country code information from the reverse geocoding result. 基于用户的位置信息,通过逆地理编码查询到的国家码。
- countryCodeFromNetwork → const CountryCodeType
-
Obtain the country code from the cell registration information. 从蜂窝网络注册信息中获取到的国家码。
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
CountryCodeType> - A constant List of the values in this enum, in order of their declaration.