LocationRequestPriority enum
The type of location information priority in a location request. 位置请求中位置信息优先级类型。 See also: https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-location-kit/js-apis-geoLocationManager.md#locationrequestpriority
Values
- unset → const LocationRequestPriority
-
0x200 Indicates unset priority, indicating that LocationRequestPriority is invalid. 表示未设置优先级,表示LocationRequestPriority无效。
- accuracy → const LocationRequestPriority
-
Indicates accuracy priority. 表示精度优先。
- lowPower → const LocationRequestPriority
-
Indicates low power priority. 表示低功耗优先。
- firstFix → const LocationRequestPriority
-
Indicates fast location acquisition priority. If an application wants to quickly obtain a location, it can set the priority to this field. 表示快速获取位置优先,如果应用希望快速拿到一个位置,可以将优先级设置为该字段。
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<
LocationRequestPriority> - A constant List of the values in this enum, in order of their declaration.