LocationOption class
定位参数
Constructors
- LocationOption({LocationActivityType locationActivityType: LocationActivityType.AutomotiveNavigation, LocationAccuracy locationAccuracy: LocationAccuracy.BestForNavigation, double distanceFilter: 1.0})
- 有参构造
- LocationOption.fromMap(Map map)
- map => LocationOption
Properties
- distanceFilter ↔ double
-
触发定位的距离阀值(多少米定位一次) 默认1
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- locationAccuracy ↔ LocationAccuracy
-
期望的定位精度 默认BestForNavigation
read / write
- locationActivityType ↔ LocationActivityType
-
活动类型 默认LocationActivityType
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toMap(
) → Map - LocationOption => map
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited