增加了
isNeedUploadCoordinatesDurationInTime 字段
This commit is contained in:
@@ -28,6 +28,7 @@ public class MoGoApplication extends Application {
|
||||
clientConfig.setNetMode(MogoHttpDnsConfig.HTTP_DNS_ENV_QA);
|
||||
clientConfig.setThirdLogin(true);
|
||||
clientConfig.setShowDebugLog(true);
|
||||
clientConfig.setNeedUploadCoordinatesDurationInTime(true);
|
||||
clientConfig.setThirdPartyAppKey("bydauto");
|
||||
clientConfig.setThirdPartyDeviceId("bydauto");
|
||||
clientConfig.setLoopCheckDelay(15 * 1000);
|
||||
|
||||
@@ -56,6 +56,11 @@ public class MoGoAiCloudClientConfig {
|
||||
*/
|
||||
private long mLoopCheckDelay;
|
||||
|
||||
/**
|
||||
* 是否上传当前位置信息
|
||||
*/
|
||||
private boolean isNeedUploadCoordinatesDurationInTime;
|
||||
|
||||
/**
|
||||
* 设置HttpDns的位置监听
|
||||
*/
|
||||
@@ -237,6 +242,14 @@ public class MoGoAiCloudClientConfig {
|
||||
mIHttpDnsCurrentLocation = IHttpDnsCurrentLocation;
|
||||
}
|
||||
|
||||
public boolean isNeedUploadCoordinatesDurationInTime() {
|
||||
return isNeedUploadCoordinatesDurationInTime;
|
||||
}
|
||||
|
||||
public void setNeedUploadCoordinatesDurationInTime(boolean needUploadCoordinatesDurationInTime) {
|
||||
isNeedUploadCoordinatesDurationInTime = needUploadCoordinatesDurationInTime;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "MoGoAiCloudClientConfig{" +
|
||||
@@ -249,6 +262,7 @@ public class MoGoAiCloudClientConfig {
|
||||
", token='" + token + '\'' +
|
||||
", sn='" + sn + '\'' +
|
||||
", mLoopCheckDelay=" + mLoopCheckDelay +
|
||||
", isNeedUploadCoordinatesDurationInTime=" + isNeedUploadCoordinatesDurationInTime +
|
||||
", mIHttpDnsCurrentLocation=" + mIHttpDnsCurrentLocation +
|
||||
'}';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user