QueryTrackDistanceOption class

查询某entity终端实体,在指定时间段内的行驶里程的请求信息类

Constructors

QueryTrackDistanceOption({@required int tag, @required int serviceId, @required String entityName, @required int startTime, @required int endTime, bool isProcessed: false, QueryTrackProcessOption processOption, TrackProcessOptionSupplementMode supplementMode: TrackProcessOptionSupplementMode.NO_SUPPLEMENT, double lowSpeedThreshold})
有参构造
QueryTrackDistanceOption.fromMap(Map map)
map => QueryTrackDistanceOption

Properties

endTime ↔ int
结束时间 UNIX时间戳,必填。 结束时间不能大于当前时间,且起止时间区间不超过24小时。
read / write
entityName ↔ String
需要查询的entity的名称,必填,必须为非空字符串
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
isCanceled ↔ bool
是否取消请求 (android)
read / write, inherited
isProcessed ↔ bool
是否返回纠偏后的里程,选填。 TRUE代表返回纠偏后的里程,FALSE代表使用原始轨迹计算里程。 默认值为FALSE。
read / write
lowSpeedThreshold ↔ double
低速阈值,选填。(单位:千米/小时) 若填写该值且isProcessed=true时,则返回结果中将增加low_speed_distance字段,表示速度低于该值的里程。 示例: lowSpeedThreshold=20,则返回结果中将增加low_speed_distance字段表示此段轨迹中速度低于20千米/小时的里程,可用于网约车行业中计算低速里程。
read / write
processOption QueryTrackProcessOption
纠偏选项,选填。 若设置此选项,则使用开发者指定的选项进行纠偏。 如果不设置,或者值为null,将使用默认的纠偏选项:去燥、不绑路、不过滤噪点、交通方式为驾车。
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时间戳,必填。
read / write
supplementMode TrackProcessOptionSupplementMode
里程补偿的方式,选填。 在里程计算时,两个轨迹点定位时间间隔5分钟以上,被认为是中断。中断轨迹可以进行里程补偿,通过此属性设置里程补偿的方式。 默认值为TrackProcessOptionSupplementMode.NO_SUPPLEMENT 不进行里程补偿。
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