QueryTrackCacheInfoOption class
查询客户端缓存的轨迹数据的请求信息类
Constructors
-
QueryTrackCacheInfoOption({@required int tag, @required int serviceId, List<
String> entityNames, int startTime, int endTime, bool needDistance: false, double distanceFilter}) - 有参构造
- QueryTrackCacheInfoOption.fromMap(Map map)
- map => QueryTrackCacheInfoOption
Properties
- distanceFilter ↔ double
-
精度过滤阈值,单位:米
当缓存的轨迹点的定位精度超过此阈值时,此点不参与离线里程计算
read / write
- endTime ↔ int
-
将轨迹点的定位时间戳,作为过滤缓存查询的条件。最终查询结果为所有过滤条件的交集。
查询指定时间段内缓存的轨迹,时间段终点的UNIX时间戳,选填
如果设置endTime,则endTime必须大于startTime
若单独指定endTime,不指定startTime,则查询endTime之前的所有缓存轨迹
read / write
-
entityNames
↔ List<
String> -
将轨迹点所属的entity,作为过滤缓存查询的条件。最终查询结果为所有过滤条件的交集。
类型为数组,选填。
若设置,则查询指定entity的缓存数据;
若不设置或设置为null或为空数组,则查询所有缓存数据。
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- isCanceled ↔ bool
-
是否取消请求 (android)
read / write, inherited
- needDistance ↔ bool
-
是否返回每个entity的缓存轨迹的里程,选填,默认为false。
若设置为true,则返回的缓存信息中,包含该entity的所有缓存轨迹的里程信息;
若不设置,或设置为false,则返回的缓存信息中,不包括里程信息。
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- serviceId ↔ int
-
鹰眼服务ID 必填
read / write, inherited
- startTime ↔ int
-
将轨迹点的定位时间戳,作为过滤缓存查询的条件。最终查询结果为所有过滤条件的交集。
查询指定时间段内缓存的轨迹,时间段起点的UNIX时间戳,选填
若单独指定startTime,不指定endTime,则查询startTime至当前的缓存轨迹
read / write
- tag ↔ int
-
请求标识 必填
read / write, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toMap(
) → Map - BaseOption => map
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited