From 78282836a54019963d798fb9d610ba2ac3ef8557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=AE=8F=E5=AE=87?= Date: Fri, 22 Jan 2021 17:11:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=20isUseExternalLocation=20true-=E4=BD=BF=E7=94=A8=EF=BC=8Cfals?= =?UTF-8?q?e-=E4=BD=BF=E7=94=A8sdk=E7=9A=84=E5=AE=9A=E4=BD=8D=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/gradle.xml | 1 - .../passport/MoGoAiCloudClientConfig.java | 24 +++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/.idea/gradle.xml b/.idea/gradle.xml index ec8f062..ad59829 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -24,7 +24,6 @@ diff --git a/foudations/mogo-passport/src/main/java/com/mogo/cloud/passport/MoGoAiCloudClientConfig.java b/foudations/mogo-passport/src/main/java/com/mogo/cloud/passport/MoGoAiCloudClientConfig.java index 7a11241..df820e0 100644 --- a/foudations/mogo-passport/src/main/java/com/mogo/cloud/passport/MoGoAiCloudClientConfig.java +++ b/foudations/mogo-passport/src/main/java/com/mogo/cloud/passport/MoGoAiCloudClientConfig.java @@ -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的位置信息,必须设置,否则将无法使用网络请求 *