BMFLocationPurpose enum

场景定位枚举类

Inheritance

Constructors

BMFLocationPurpose()
const

Values

signIn → const BMFLocationPurpose

签到场景 只进行一次定位返回最接近真实位置的定位结果(定位速度可能会延迟1-3s)

sport → const BMFLocationPurpose

出行场景 高精度连续定位,适用于有户内外切换的场景,卫星定位和网络定位相互切换,卫星定位成功之后网络定位不再返回,卫星信号断开之后一段时间才会返回网络结果

transport → const BMFLocationPurpose

运动场景 高精度连续定位,适用于有户内外切换的场景,卫星定位和网络定位相互切换,卫星定位成功之后网络定位不再返回,卫星信号断开之后一段时间才会返回网络结果

other → const BMFLocationPurpose

其他类型

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<BMFLocationPurpose>
A constant List of the values in this enum, in order of their declaration.