public final class DrivingBehaviorRequest extends BaseRequest
serviceId, tag
构造器和说明 |
---|
DrivingBehaviorRequest() |
DrivingBehaviorRequest(int tag,
long serviceId) |
DrivingBehaviorRequest(int tag,
long serviceId,
java.lang.String entityName) |
DrivingBehaviorRequest(int tag,
long serviceId,
java.lang.String entityName,
long startTime,
long endTime,
int speedingThreshold,
ProcessOption processOption,
CoordType coordTypeOutput)
已过时。
|
DrivingBehaviorRequest(int tag,
long serviceId,
java.lang.String entityName,
long startTime,
long endTime,
ThresholdOption thresholdOption,
ProcessOption processOption,
CoordType coordTypeOutput) |
限定符和类型 | 方法和说明 |
---|---|
CoordType |
getCoordTypeOutput() |
long |
getEndTime() |
java.lang.String |
getEntityName() |
ProcessOption |
getProcessOption() |
int |
getSpeedingThreshold()
已过时。
|
long |
getStartTime() |
ThresholdOption |
getThresholdOption() |
void |
setCoordTypeOutput(CoordType coordTypeOutput)
返回结果的坐标类型,默认为百度经纬度
该字段用于控制返回结果中坐标的类型。
|
void |
setEndTime(long endTime)
设置结束时间
|
void |
setEntityName(java.lang.String entityName)
设置entity标识
|
void |
setProcessOption(ProcessOption processOption)
设置纠偏选项,可选项为:
needMapMatch:绑路(false:不需要,true:需要),
transportMode:交通方式(driving, riding, walking)
|
void |
setSpeedingThreshold(int speedingThreshold)
已过时。
|
void |
setStartTime(long startTime)
设置开始时间
|
void |
setThresholdOption(ThresholdOption thresholdOption)
设置阈值选项
|
java.lang.String |
toString() |
cancel, getServiceId, getTag, isCanceled, setServiceId, setTag
public DrivingBehaviorRequest()
public DrivingBehaviorRequest(int tag, long serviceId)
tag
- 请求标识serviceId
- 轨迹服务IDpublic DrivingBehaviorRequest(int tag, long serviceId, java.lang.String entityName)
tag
- 请求标识serviceId
- 轨迹服务IDentityName
- Entity标识@Deprecated public DrivingBehaviorRequest(int tag, long serviceId, java.lang.String entityName, long startTime, long endTime, int speedingThreshold, ProcessOption processOption, CoordType coordTypeOutput)
tag
- 请求标识serviceId
- 轨迹服务IDentityName
- Entity标识startTime
- 开始时间endTime
- 结束时间speedingThreshold
- 限速值processOption
- 纠偏选项coordTypeOutput
- 返回结果的坐标类型public DrivingBehaviorRequest(int tag, long serviceId, java.lang.String entityName, long startTime, long endTime, ThresholdOption thresholdOption, ProcessOption processOption, CoordType coordTypeOutput)
tag
- 请求标识serviceId
- 轨迹服务IDentityName
- Entity标识startTime
- 开始时间endTime
- 结束时间thresholdOption
- 阈值选项processOption
- 纠偏选项coordTypeOutput
- 返回结果的坐标类型public java.lang.String getEntityName()
public void setEntityName(java.lang.String entityName)
entityName
- public long getStartTime()
public void setStartTime(long startTime)
startTime
- public long getEndTime()
public void setEndTime(long endTime)
endTime
- @Deprecated public int getSpeedingThreshold()
@Deprecated public void setSpeedingThreshold(int speedingThreshold)
0:根据百度地图道路限速数据计算超速点; 其他数值:以设置的数值为阈值,轨迹点速度超过该值则认为是超速。
speedingThreshold
- public ThresholdOption getThresholdOption()
public void setThresholdOption(ThresholdOption thresholdOption)
thresholdOption
- public ProcessOption getProcessOption()
public void setProcessOption(ProcessOption processOption)
needMapMatch:绑路(false:不需要,true:需要), transportMode:交通方式(driving, riding, walking)
processOption
- public CoordType getCoordTypeOutput()
public void setCoordTypeOutput(CoordType coordTypeOutput)
该字段用于控制返回结果中坐标的类型。可选值为: bd09ll:百度经纬度坐标; gcj02:国测局加密坐标; 注:该字段在国外无效,国外均返回wgs84坐标
coordTypeOutput
- public java.lang.String toString()
toString
在类中 java.lang.Object