TencentLocationRequestHarmonyExtension class

Harmony 专属请求字段。

Constructors

TencentLocationRequestHarmonyExtension()

Properties

firstLocationCachePolicy Duration
首次定位缓存策略(秒)。对应 setFirstLocationCachePolicy(s)
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
innerInterval Duration
SDK 内部定位间隔。对应 setInnerInterval(s)
getter/setter pair
locatingPriority HarmonyLocatingPriority
定位优先级。
getter/setter pair
powerConsumptionScenario HarmonyPowerConsumptionScenario?
功耗场景。
getter/setter pair
reverseGeocodeRequestInterval Duration
逆地理请求间隔。对应 setReverseGeocodeRequestInterval(s)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
singleLocationTimeout Duration
单次定位超时,默认 10s。对应 setSingleLocationTimeout(s)
getter/setter pair
userActivityScenario HarmonyUserActivityScenario?
用户活动场景。与 powerConsumptionScenario 互斥。
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited