TencentLocationRequestAndroidExtension class
Android 专属请求字段。
Constructors
Properties
- allowBle ↔ bool
-
允许 BLE。对应
setAllowBLE(bool)。getter/setter pair - allowCache ↔ bool
-
允许缓存定位。对应
setAllowCache(bool)。getter/setter pair - allowGps ↔ bool
-
允许 GPS。对应
setAllowGPS(bool)。getter/setter pair - firstLocationNeedAddress ↔ bool
-
首次定位是否需要地址。对应
setFirstLocationNeedAddress(bool)。getter/setter pair - firstLocationTimeout ↔ Duration
-
首次定位回调的兜底超时时间,默认 15s。对应
setLocFirstTimeOut(long)。getter/setter pair - gnssSource ↔ AndroidGnssSource
-
GNSS 来源。对应
setGnssSource(int)。getter/setter pair - gpsFirst ↔ bool
-
GPS 优先。对应
setGpsFirst(bool)。getter/setter pair - gpsFirstTimeout ↔ Duration
-
GPS 优先超时。对应
setGpsFirstTimeOut(int)。getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- indoorMode ↔ bool
-
室内定位模式。对应
setIndoorLocationMode(bool)。getter/setter pair - locMode ↔ AndroidLocationMode
-
定位模式。对应
TencentLocationRequest.setLocMode(int)。getter/setter pair - phoneNumber ↔ String
-
手机号。对应
setPhoneNumber(String)(内部extras["phoneNumber"])。getter/setter pair - qq ↔ String
-
QQ 号。对应
setQQ(String)。getter/setter pair - reGeoCodingKey ↔ String?
-
ReGeoCoding Key,拿 TencentGeoAddress.nationCode 必需。
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scene ↔ AndroidLocationScene?
-
场景化定位。
getter/setter pair
- smallAppKey ↔ String
-
小程序 AppKey。对应
setSmallAppKey(String)。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