增加了字段
isUseExternalLocation true-使用,false-使用sdk的定位数据
This commit is contained in:
1
.idea/gradle.xml
generated
1
.idea/gradle.xml
generated
@@ -24,7 +24,6 @@
|
||||
</set>
|
||||
</option>
|
||||
<option name="resolveModulePerSourceSet" value="false" />
|
||||
<option name="useQualifiedModuleNames" value="true" />
|
||||
</GradleProjectSettings>
|
||||
</option>
|
||||
</component>
|
||||
|
||||
@@ -56,6 +56,11 @@ public class MoGoAiCloudClientConfig {
|
||||
*/
|
||||
private long mLoopCheckDelay;
|
||||
|
||||
/**
|
||||
* 是否使用外部定位数据
|
||||
*/
|
||||
private long mIsUseExternalLocation;
|
||||
|
||||
/**
|
||||
* 是否上传当前位置信息
|
||||
*/
|
||||
@@ -224,6 +229,25 @@ public class MoGoAiCloudClientConfig {
|
||||
mLoopCheckDelay = loopCheckDelay;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取是否使用外部定位数据
|
||||
*
|
||||
* @return true-使用,false-使用sdk的定位数据
|
||||
*/
|
||||
public long getIsUseExternalLocation() {
|
||||
return mIsUseExternalLocation;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置是否使用外部定位数据
|
||||
*
|
||||
* @param isUseExternalLocation true-使用,false-使用sdk的定位数据
|
||||
*/
|
||||
public void setIsUseExternalLocation(long isUseExternalLocation) {
|
||||
mIsUseExternalLocation = isUseExternalLocation;
|
||||
}
|
||||
|
||||
/**
|
||||
* 返回HttpDns的位置信息,必须设置,否则将无法使用网络请求
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user