diff --git a/ApiDoc/allclasses-frame.html b/ApiDoc/allclasses-frame.html new file mode 100644 index 0000000..e0b0d9c --- /dev/null +++ b/ApiDoc/allclasses-frame.html @@ -0,0 +1,40 @@ + + + + + + +所有类 (蘑菇AI云平台Doc) + + + + + +

所有类

+
+ +
+ + diff --git a/ApiDoc/allclasses-noframe.html b/ApiDoc/allclasses-noframe.html new file mode 100644 index 0000000..f3be973 --- /dev/null +++ b/ApiDoc/allclasses-noframe.html @@ -0,0 +1,40 @@ + + + + + + +所有类 (蘑菇AI云平台Doc) + + + + + +

所有类

+
+ +
+ + diff --git a/ApiDoc/com/mogo/realtime/Interface/MoGoAiCloudRealTime.html b/ApiDoc/com/mogo/realtime/Interface/MoGoAiCloudRealTime.html new file mode 100644 index 0000000..bf6a059 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/Interface/MoGoAiCloudRealTime.html @@ -0,0 +1,339 @@ + + + + + + +MoGoAiCloudRealTime (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.mogo.realtime.Interface
+

类 MoGoAiCloudRealTime

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/Interface/RealTimeProvider.html b/ApiDoc/com/mogo/realtime/Interface/RealTimeProvider.html new file mode 100644 index 0000000..94cc677 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/Interface/RealTimeProvider.html @@ -0,0 +1,246 @@ + + + + + + +RealTimeProvider (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.mogo.realtime.Interface
+

接口 RealTimeProvider

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/Interface/class-use/MoGoAiCloudRealTime.html b/ApiDoc/com/mogo/realtime/Interface/class-use/MoGoAiCloudRealTime.html new file mode 100644 index 0000000..bd8c6f1 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/Interface/class-use/MoGoAiCloudRealTime.html @@ -0,0 +1,125 @@ + + + + + + +类 com.mogo.realtime.Interface.MoGoAiCloudRealTime的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

类的使用
com.mogo.realtime.Interface.MoGoAiCloudRealTime

+
+
没有com.mogo.realtime.Interface.MoGoAiCloudRealTime的用法
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/Interface/class-use/RealTimeProvider.html b/ApiDoc/com/mogo/realtime/Interface/class-use/RealTimeProvider.html new file mode 100644 index 0000000..cf2a322 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/Interface/class-use/RealTimeProvider.html @@ -0,0 +1,167 @@ + + + + + + +接口 com.mogo.realtime.Interface.RealTimeProvider的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

接口的使用
com.mogo.realtime.Interface.RealTimeProvider

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/Interface/package-frame.html b/ApiDoc/com/mogo/realtime/Interface/package-frame.html new file mode 100644 index 0000000..f8a3d9a --- /dev/null +++ b/ApiDoc/com/mogo/realtime/Interface/package-frame.html @@ -0,0 +1,25 @@ + + + + + + +com.mogo.realtime.Interface (蘑菇AI云平台Doc) + + + + + +

com.mogo.realtime.Interface

+
+

接口

+ +

+ +
+ + diff --git a/ApiDoc/com/mogo/realtime/Interface/package-summary.html b/ApiDoc/com/mogo/realtime/Interface/package-summary.html new file mode 100644 index 0000000..b473551 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/Interface/package-summary.html @@ -0,0 +1,162 @@ + + + + + + +com.mogo.realtime.Interface (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

程序包 com.mogo.realtime.Interface

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/Interface/package-tree.html b/ApiDoc/com/mogo/realtime/Interface/package-tree.html new file mode 100644 index 0000000..f0094be --- /dev/null +++ b/ApiDoc/com/mogo/realtime/Interface/package-tree.html @@ -0,0 +1,142 @@ + + + + + + +com.mogo.realtime.Interface 类分层结构 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

程序包com.mogo.realtime.Interface的分层结构

+程序包分层结构: + +
+
+

类分层结构

+ +

接口分层结构

+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/Interface/package-use.html b/ApiDoc/com/mogo/realtime/Interface/package-use.html new file mode 100644 index 0000000..e6845f3 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/Interface/package-use.html @@ -0,0 +1,160 @@ + + + + + + +程序包 com.mogo.realtime.Interface的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

程序包的使用
com.mogo.realtime.Interface

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/core/SimpleLocationCorrectStrategy.RecordLocationListener.html b/ApiDoc/com/mogo/realtime/core/SimpleLocationCorrectStrategy.RecordLocationListener.html new file mode 100644 index 0000000..2ad4d86 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/core/SimpleLocationCorrectStrategy.RecordLocationListener.html @@ -0,0 +1,232 @@ + + + + + + +SimpleLocationCorrectStrategy.RecordLocationListener (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.mogo.realtime.core
+

接口 SimpleLocationCorrectStrategy.RecordLocationListener

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/core/SimpleLocationCorrectStrategy.html b/ApiDoc/com/mogo/realtime/core/SimpleLocationCorrectStrategy.html new file mode 100644 index 0000000..ce2d432 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/core/SimpleLocationCorrectStrategy.html @@ -0,0 +1,342 @@ + + + + + + +SimpleLocationCorrectStrategy (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.mogo.realtime.core
+

类 SimpleLocationCorrectStrategy

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/core/SnapshotUploadInTime.html b/ApiDoc/com/mogo/realtime/core/SnapshotUploadInTime.html new file mode 100644 index 0000000..cf6a8dd --- /dev/null +++ b/ApiDoc/com/mogo/realtime/core/SnapshotUploadInTime.html @@ -0,0 +1,304 @@ + + + + + + +SnapshotUploadInTime (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.mogo.realtime.core
+

类 SnapshotUploadInTime

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/core/UploadInTimeHandler.IUploadInTimeListener.html b/ApiDoc/com/mogo/realtime/core/UploadInTimeHandler.IUploadInTimeListener.html new file mode 100644 index 0000000..f905e65 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/core/UploadInTimeHandler.IUploadInTimeListener.html @@ -0,0 +1,234 @@ + + + + + + +UploadInTimeHandler.IUploadInTimeListener (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.mogo.realtime.core
+

接口 UploadInTimeHandler.IUploadInTimeListener

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/core/UploadInTimeHandler.html b/ApiDoc/com/mogo/realtime/core/UploadInTimeHandler.html new file mode 100644 index 0000000..275480e --- /dev/null +++ b/ApiDoc/com/mogo/realtime/core/UploadInTimeHandler.html @@ -0,0 +1,319 @@ + + + + + + +UploadInTimeHandler (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.mogo.realtime.core
+

类 UploadInTimeHandler

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/core/class-use/SimpleLocationCorrectStrategy.RecordLocationListener.html b/ApiDoc/com/mogo/realtime/core/class-use/SimpleLocationCorrectStrategy.RecordLocationListener.html new file mode 100644 index 0000000..d671edd --- /dev/null +++ b/ApiDoc/com/mogo/realtime/core/class-use/SimpleLocationCorrectStrategy.RecordLocationListener.html @@ -0,0 +1,165 @@ + + + + + + +接口 com.mogo.realtime.core.SimpleLocationCorrectStrategy.RecordLocationListener的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

接口的使用
com.mogo.realtime.core.SimpleLocationCorrectStrategy.RecordLocationListener

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/core/class-use/SimpleLocationCorrectStrategy.html b/ApiDoc/com/mogo/realtime/core/class-use/SimpleLocationCorrectStrategy.html new file mode 100644 index 0000000..acd8479 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/core/class-use/SimpleLocationCorrectStrategy.html @@ -0,0 +1,165 @@ + + + + + + +类 com.mogo.realtime.core.SimpleLocationCorrectStrategy的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

类的使用
com.mogo.realtime.core.SimpleLocationCorrectStrategy

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/core/class-use/SnapshotUploadInTime.html b/ApiDoc/com/mogo/realtime/core/class-use/SnapshotUploadInTime.html new file mode 100644 index 0000000..a9dc89b --- /dev/null +++ b/ApiDoc/com/mogo/realtime/core/class-use/SnapshotUploadInTime.html @@ -0,0 +1,165 @@ + + + + + + +类 com.mogo.realtime.core.SnapshotUploadInTime的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

类的使用
com.mogo.realtime.core.SnapshotUploadInTime

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/core/class-use/UploadInTimeHandler.IUploadInTimeListener.html b/ApiDoc/com/mogo/realtime/core/class-use/UploadInTimeHandler.IUploadInTimeListener.html new file mode 100644 index 0000000..ee9d113 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/core/class-use/UploadInTimeHandler.IUploadInTimeListener.html @@ -0,0 +1,180 @@ + + + + + + +接口 com.mogo.realtime.core.UploadInTimeHandler.IUploadInTimeListener的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

接口的使用
com.mogo.realtime.core.UploadInTimeHandler.IUploadInTimeListener

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/core/class-use/UploadInTimeHandler.html b/ApiDoc/com/mogo/realtime/core/class-use/UploadInTimeHandler.html new file mode 100644 index 0000000..29d5304 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/core/class-use/UploadInTimeHandler.html @@ -0,0 +1,165 @@ + + + + + + +类 com.mogo.realtime.core.UploadInTimeHandler的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

类的使用
com.mogo.realtime.core.UploadInTimeHandler

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/core/package-frame.html b/ApiDoc/com/mogo/realtime/core/package-frame.html new file mode 100644 index 0000000..7c17939 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/core/package-frame.html @@ -0,0 +1,28 @@ + + + + + + +com.mogo.realtime.core (蘑菇AI云平台Doc) + + + + + +

com.mogo.realtime.core

+
+

接口

+ +

+ +
+ + diff --git a/ApiDoc/com/mogo/realtime/core/package-summary.html b/ApiDoc/com/mogo/realtime/core/package-summary.html new file mode 100644 index 0000000..a04bc79 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/core/package-summary.html @@ -0,0 +1,178 @@ + + + + + + +com.mogo.realtime.core (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

程序包 com.mogo.realtime.core

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/core/package-tree.html b/ApiDoc/com/mogo/realtime/core/package-tree.html new file mode 100644 index 0000000..1555dd2 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/core/package-tree.html @@ -0,0 +1,145 @@ + + + + + + +com.mogo.realtime.core 类分层结构 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

程序包com.mogo.realtime.core的分层结构

+程序包分层结构: + +
+
+

类分层结构

+ +

接口分层结构

+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/core/package-use.html b/ApiDoc/com/mogo/realtime/core/package-use.html new file mode 100644 index 0000000..a644cc9 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/core/package-use.html @@ -0,0 +1,178 @@ + + + + + + +程序包 com.mogo.realtime.core的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

程序包的使用
com.mogo.realtime.core

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/entity/ADASRecognizedResult.html b/ApiDoc/com/mogo/realtime/entity/ADASRecognizedResult.html new file mode 100644 index 0000000..2aeeab9 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/entity/ADASRecognizedResult.html @@ -0,0 +1,453 @@ + + + + + + +ADASRecognizedResult (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.mogo.realtime.entity
+

类 ADASRecognizedResult

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/entity/CloudLocationInfo.html b/ApiDoc/com/mogo/realtime/entity/CloudLocationInfo.html new file mode 100644 index 0000000..72ef5a0 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/entity/CloudLocationInfo.html @@ -0,0 +1,646 @@ + + + + + + +CloudLocationInfo (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.mogo.realtime.entity
+

类 CloudLocationInfo

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/entity/CloudRoadData.html b/ApiDoc/com/mogo/realtime/entity/CloudRoadData.html new file mode 100644 index 0000000..f9e5c77 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/entity/CloudRoadData.html @@ -0,0 +1,806 @@ + + + + + + +CloudRoadData (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.mogo.realtime.entity
+

类 CloudRoadData

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/entity/LocationResult.html b/ApiDoc/com/mogo/realtime/entity/LocationResult.html new file mode 100644 index 0000000..a27225d --- /dev/null +++ b/ApiDoc/com/mogo/realtime/entity/LocationResult.html @@ -0,0 +1,325 @@ + + + + + + +LocationResult (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.mogo.realtime.entity
+

类 LocationResult

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/entity/MogoSnapshotSetData.html b/ApiDoc/com/mogo/realtime/entity/MogoSnapshotSetData.html new file mode 100644 index 0000000..31833cd --- /dev/null +++ b/ApiDoc/com/mogo/realtime/entity/MogoSnapshotSetData.html @@ -0,0 +1,588 @@ + + + + + + +MogoSnapshotSetData (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.mogo.realtime.entity
+

类 MogoSnapshotSetData

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/entity/OnePerSecondSendContent.html b/ApiDoc/com/mogo/realtime/entity/OnePerSecondSendContent.html new file mode 100644 index 0000000..232f69d --- /dev/null +++ b/ApiDoc/com/mogo/realtime/entity/OnePerSecondSendContent.html @@ -0,0 +1,294 @@ + + + + + + +OnePerSecondSendContent (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.mogo.realtime.entity
+

类 OnePerSecondSendContent

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/entity/class-use/ADASRecognizedResult.html b/ApiDoc/com/mogo/realtime/entity/class-use/ADASRecognizedResult.html new file mode 100644 index 0000000..1f81839 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/entity/class-use/ADASRecognizedResult.html @@ -0,0 +1,213 @@ + + + + + + +类 com.mogo.realtime.entity.ADASRecognizedResult的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

类的使用
com.mogo.realtime.entity.ADASRecognizedResult

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/entity/class-use/CloudLocationInfo.html b/ApiDoc/com/mogo/realtime/entity/class-use/CloudLocationInfo.html new file mode 100644 index 0000000..ca9b3c5 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/entity/class-use/CloudLocationInfo.html @@ -0,0 +1,424 @@ + + + + + + +类 com.mogo.realtime.entity.CloudLocationInfo的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

类的使用
com.mogo.realtime.entity.CloudLocationInfo

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/entity/class-use/CloudRoadData.html b/ApiDoc/com/mogo/realtime/entity/class-use/CloudRoadData.html new file mode 100644 index 0000000..3b5ff55 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/entity/class-use/CloudRoadData.html @@ -0,0 +1,233 @@ + + + + + + +类 com.mogo.realtime.entity.CloudRoadData的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

类的使用
com.mogo.realtime.entity.CloudRoadData

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/entity/class-use/LocationResult.html b/ApiDoc/com/mogo/realtime/entity/class-use/LocationResult.html new file mode 100644 index 0000000..edf6ec2 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/entity/class-use/LocationResult.html @@ -0,0 +1,167 @@ + + + + + + +类 com.mogo.realtime.entity.LocationResult的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

类的使用
com.mogo.realtime.entity.LocationResult

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/entity/class-use/MogoSnapshotSetData.html b/ApiDoc/com/mogo/realtime/entity/class-use/MogoSnapshotSetData.html new file mode 100644 index 0000000..bdafc05 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/entity/class-use/MogoSnapshotSetData.html @@ -0,0 +1,189 @@ + + + + + + +类 com.mogo.realtime.entity.MogoSnapshotSetData的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

类的使用
com.mogo.realtime.entity.MogoSnapshotSetData

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/entity/class-use/OnePerSecondSendContent.html b/ApiDoc/com/mogo/realtime/entity/class-use/OnePerSecondSendContent.html new file mode 100644 index 0000000..97fba0d --- /dev/null +++ b/ApiDoc/com/mogo/realtime/entity/class-use/OnePerSecondSendContent.html @@ -0,0 +1,125 @@ + + + + + + +类 com.mogo.realtime.entity.OnePerSecondSendContent的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

类的使用
com.mogo.realtime.entity.OnePerSecondSendContent

+
+
没有com.mogo.realtime.entity.OnePerSecondSendContent的用法
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/entity/package-frame.html b/ApiDoc/com/mogo/realtime/entity/package-frame.html new file mode 100644 index 0000000..aa0ff49 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/entity/package-frame.html @@ -0,0 +1,26 @@ + + + + + + +com.mogo.realtime.entity (蘑菇AI云平台Doc) + + + + + +

com.mogo.realtime.entity

+
+

+ +
+ + diff --git a/ApiDoc/com/mogo/realtime/entity/package-summary.html b/ApiDoc/com/mogo/realtime/entity/package-summary.html new file mode 100644 index 0000000..8a1209b --- /dev/null +++ b/ApiDoc/com/mogo/realtime/entity/package-summary.html @@ -0,0 +1,169 @@ + + + + + + +com.mogo.realtime.entity (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

程序包 com.mogo.realtime.entity

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/entity/package-tree.html b/ApiDoc/com/mogo/realtime/entity/package-tree.html new file mode 100644 index 0000000..c5a2d0d --- /dev/null +++ b/ApiDoc/com/mogo/realtime/entity/package-tree.html @@ -0,0 +1,143 @@ + + + + + + +com.mogo.realtime.entity 类分层结构 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

程序包com.mogo.realtime.entity的分层结构

+程序包分层结构: + +
+
+

类分层结构

+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/entity/package-use.html b/ApiDoc/com/mogo/realtime/entity/package-use.html new file mode 100644 index 0000000..9413357 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/entity/package-use.html @@ -0,0 +1,309 @@ + + + + + + +程序包 com.mogo.realtime.entity的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

程序包的使用
com.mogo.realtime.entity

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/location/MogoRTKLocation.html b/ApiDoc/com/mogo/realtime/location/MogoRTKLocation.html new file mode 100644 index 0000000..57b2378 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/location/MogoRTKLocation.html @@ -0,0 +1,284 @@ + + + + + + +MogoRTKLocation (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.mogo.realtime.location
+

类 MogoRTKLocation

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/location/class-use/MogoRTKLocation.html b/ApiDoc/com/mogo/realtime/location/class-use/MogoRTKLocation.html new file mode 100644 index 0000000..8f68481 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/location/class-use/MogoRTKLocation.html @@ -0,0 +1,165 @@ + + + + + + +类 com.mogo.realtime.location.MogoRTKLocation的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

类的使用
com.mogo.realtime.location.MogoRTKLocation

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/location/package-frame.html b/ApiDoc/com/mogo/realtime/location/package-frame.html new file mode 100644 index 0000000..fd0b544 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/location/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +com.mogo.realtime.location (蘑菇AI云平台Doc) + + + + + +

com.mogo.realtime.location

+
+

+ +
+ + diff --git a/ApiDoc/com/mogo/realtime/location/package-summary.html b/ApiDoc/com/mogo/realtime/location/package-summary.html new file mode 100644 index 0000000..c68825d --- /dev/null +++ b/ApiDoc/com/mogo/realtime/location/package-summary.html @@ -0,0 +1,145 @@ + + + + + + +com.mogo.realtime.location (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

程序包 com.mogo.realtime.location

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/location/package-tree.html b/ApiDoc/com/mogo/realtime/location/package-tree.html new file mode 100644 index 0000000..4d981ed --- /dev/null +++ b/ApiDoc/com/mogo/realtime/location/package-tree.html @@ -0,0 +1,138 @@ + + + + + + +com.mogo.realtime.location 类分层结构 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

程序包com.mogo.realtime.location的分层结构

+程序包分层结构: + +
+
+

类分层结构

+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/location/package-use.html b/ApiDoc/com/mogo/realtime/location/package-use.html new file mode 100644 index 0000000..fd53a8d --- /dev/null +++ b/ApiDoc/com/mogo/realtime/location/package-use.html @@ -0,0 +1,160 @@ + + + + + + +程序包 com.mogo.realtime.location的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

程序包的使用
com.mogo.realtime.location

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/socket/IMogoCloudOnAckListener.html b/ApiDoc/com/mogo/realtime/socket/IMogoCloudOnAckListener.html new file mode 100644 index 0000000..3e9625a --- /dev/null +++ b/ApiDoc/com/mogo/realtime/socket/IMogoCloudOnAckListener.html @@ -0,0 +1,230 @@ + + + + + + +IMogoCloudOnAckListener (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.mogo.realtime.socket
+

接口 IMogoCloudOnAckListener

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/socket/IMogoCloudOnMsgListener.html b/ApiDoc/com/mogo/realtime/socket/IMogoCloudOnMsgListener.html new file mode 100644 index 0000000..004aec2 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/socket/IMogoCloudOnMsgListener.html @@ -0,0 +1,250 @@ + + + + + + +IMogoCloudOnMsgListener (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.mogo.realtime.socket
+

接口 IMogoCloudOnMsgListener

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/socket/SocketHandler.html b/ApiDoc/com/mogo/realtime/socket/SocketHandler.html new file mode 100644 index 0000000..374e6d1 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/socket/SocketHandler.html @@ -0,0 +1,368 @@ + + + + + + +SocketHandler (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.mogo.realtime.socket
+

类 SocketHandler

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/socket/class-use/IMogoCloudOnAckListener.html b/ApiDoc/com/mogo/realtime/socket/class-use/IMogoCloudOnAckListener.html new file mode 100644 index 0000000..2697306 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/socket/class-use/IMogoCloudOnAckListener.html @@ -0,0 +1,165 @@ + + + + + + +接口 com.mogo.realtime.socket.IMogoCloudOnAckListener的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

接口的使用
com.mogo.realtime.socket.IMogoCloudOnAckListener

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/socket/class-use/IMogoCloudOnMsgListener.html b/ApiDoc/com/mogo/realtime/socket/class-use/IMogoCloudOnMsgListener.html new file mode 100644 index 0000000..589f063 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/socket/class-use/IMogoCloudOnMsgListener.html @@ -0,0 +1,199 @@ + + + + + + +接口 com.mogo.realtime.socket.IMogoCloudOnMsgListener的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

接口的使用
com.mogo.realtime.socket.IMogoCloudOnMsgListener

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/socket/class-use/SocketHandler.html b/ApiDoc/com/mogo/realtime/socket/class-use/SocketHandler.html new file mode 100644 index 0000000..53190ed --- /dev/null +++ b/ApiDoc/com/mogo/realtime/socket/class-use/SocketHandler.html @@ -0,0 +1,165 @@ + + + + + + +类 com.mogo.realtime.socket.SocketHandler的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

类的使用
com.mogo.realtime.socket.SocketHandler

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/socket/package-frame.html b/ApiDoc/com/mogo/realtime/socket/package-frame.html new file mode 100644 index 0000000..f8dd83b --- /dev/null +++ b/ApiDoc/com/mogo/realtime/socket/package-frame.html @@ -0,0 +1,26 @@ + + + + + + +com.mogo.realtime.socket (蘑菇AI云平台Doc) + + + + + +

com.mogo.realtime.socket

+
+

接口

+ +

+ +
+ + diff --git a/ApiDoc/com/mogo/realtime/socket/package-summary.html b/ApiDoc/com/mogo/realtime/socket/package-summary.html new file mode 100644 index 0000000..3f39312 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/socket/package-summary.html @@ -0,0 +1,168 @@ + + + + + + +com.mogo.realtime.socket (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

程序包 com.mogo.realtime.socket

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/socket/package-tree.html b/ApiDoc/com/mogo/realtime/socket/package-tree.html new file mode 100644 index 0000000..c27fb8a --- /dev/null +++ b/ApiDoc/com/mogo/realtime/socket/package-tree.html @@ -0,0 +1,143 @@ + + + + + + +com.mogo.realtime.socket 类分层结构 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

程序包com.mogo.realtime.socket的分层结构

+程序包分层结构: + +
+
+

类分层结构

+ +

接口分层结构

+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/socket/package-use.html b/ApiDoc/com/mogo/realtime/socket/package-use.html new file mode 100644 index 0000000..734883a --- /dev/null +++ b/ApiDoc/com/mogo/realtime/socket/package-use.html @@ -0,0 +1,191 @@ + + + + + + +程序包 com.mogo.realtime.socket的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

程序包的使用
com.mogo.realtime.socket

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/spi/RealTimeProviderImp.html b/ApiDoc/com/mogo/realtime/spi/RealTimeProviderImp.html new file mode 100644 index 0000000..cd1bfcb --- /dev/null +++ b/ApiDoc/com/mogo/realtime/spi/RealTimeProviderImp.html @@ -0,0 +1,320 @@ + + + + + + +RealTimeProviderImp (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.mogo.realtime.spi
+

类 RealTimeProviderImp

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/spi/class-use/RealTimeProviderImp.html b/ApiDoc/com/mogo/realtime/spi/class-use/RealTimeProviderImp.html new file mode 100644 index 0000000..6797f45 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/spi/class-use/RealTimeProviderImp.html @@ -0,0 +1,165 @@ + + + + + + +类 com.mogo.realtime.spi.RealTimeProviderImp的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

类的使用
com.mogo.realtime.spi.RealTimeProviderImp

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/spi/package-frame.html b/ApiDoc/com/mogo/realtime/spi/package-frame.html new file mode 100644 index 0000000..c5a81db --- /dev/null +++ b/ApiDoc/com/mogo/realtime/spi/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +com.mogo.realtime.spi (蘑菇AI云平台Doc) + + + + + +

com.mogo.realtime.spi

+
+

+ +
+ + diff --git a/ApiDoc/com/mogo/realtime/spi/package-summary.html b/ApiDoc/com/mogo/realtime/spi/package-summary.html new file mode 100644 index 0000000..6740475 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/spi/package-summary.html @@ -0,0 +1,145 @@ + + + + + + +com.mogo.realtime.spi (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

程序包 com.mogo.realtime.spi

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/spi/package-tree.html b/ApiDoc/com/mogo/realtime/spi/package-tree.html new file mode 100644 index 0000000..03dd828 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/spi/package-tree.html @@ -0,0 +1,138 @@ + + + + + + +com.mogo.realtime.spi 类分层结构 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

程序包com.mogo.realtime.spi的分层结构

+程序包分层结构: + +
+
+

类分层结构

+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/spi/package-use.html b/ApiDoc/com/mogo/realtime/spi/package-use.html new file mode 100644 index 0000000..e28d5c9 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/spi/package-use.html @@ -0,0 +1,160 @@ + + + + + + +程序包 com.mogo.realtime.spi的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

程序包的使用
com.mogo.realtime.spi

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/util/LocationParseUtil.html b/ApiDoc/com/mogo/realtime/util/LocationParseUtil.html new file mode 100644 index 0000000..45ecfb4 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/util/LocationParseUtil.html @@ -0,0 +1,299 @@ + + + + + + +LocationParseUtil (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.mogo.realtime.util
+

类 LocationParseUtil

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/util/MogoLatLng.html b/ApiDoc/com/mogo/realtime/util/MogoLatLng.html new file mode 100644 index 0000000..229a1b2 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/util/MogoLatLng.html @@ -0,0 +1,479 @@ + + + + + + +MogoLatLng (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.mogo.realtime.util
+

类 MogoLatLng

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/util/MortonCode.html b/ApiDoc/com/mogo/realtime/util/MortonCode.html new file mode 100644 index 0000000..b7e3859 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/util/MortonCode.html @@ -0,0 +1,326 @@ + + + + + + +MortonCode (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.mogo.realtime.util
+

类 MortonCode

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/util/class-use/LocationParseUtil.html b/ApiDoc/com/mogo/realtime/util/class-use/LocationParseUtil.html new file mode 100644 index 0000000..85299f4 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/util/class-use/LocationParseUtil.html @@ -0,0 +1,125 @@ + + + + + + +类 com.mogo.realtime.util.LocationParseUtil的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

类的使用
com.mogo.realtime.util.LocationParseUtil

+
+
没有com.mogo.realtime.util.LocationParseUtil的用法
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/util/class-use/MogoLatLng.html b/ApiDoc/com/mogo/realtime/util/class-use/MogoLatLng.html new file mode 100644 index 0000000..32f76a6 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/util/class-use/MogoLatLng.html @@ -0,0 +1,206 @@ + + + + + + +类 com.mogo.realtime.util.MogoLatLng的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

类的使用
com.mogo.realtime.util.MogoLatLng

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/util/class-use/MortonCode.html b/ApiDoc/com/mogo/realtime/util/class-use/MortonCode.html new file mode 100644 index 0000000..16ab025 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/util/class-use/MortonCode.html @@ -0,0 +1,125 @@ + + + + + + +类 com.mogo.realtime.util.MortonCode的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

类的使用
com.mogo.realtime.util.MortonCode

+
+
没有com.mogo.realtime.util.MortonCode的用法
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/util/package-frame.html b/ApiDoc/com/mogo/realtime/util/package-frame.html new file mode 100644 index 0000000..63ac7dd --- /dev/null +++ b/ApiDoc/com/mogo/realtime/util/package-frame.html @@ -0,0 +1,23 @@ + + + + + + +com.mogo.realtime.util (蘑菇AI云平台Doc) + + + + + +

com.mogo.realtime.util

+
+

+ +
+ + diff --git a/ApiDoc/com/mogo/realtime/util/package-summary.html b/ApiDoc/com/mogo/realtime/util/package-summary.html new file mode 100644 index 0000000..8811c7e --- /dev/null +++ b/ApiDoc/com/mogo/realtime/util/package-summary.html @@ -0,0 +1,157 @@ + + + + + + +com.mogo.realtime.util (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

程序包 com.mogo.realtime.util

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/util/package-tree.html b/ApiDoc/com/mogo/realtime/util/package-tree.html new file mode 100644 index 0000000..12039fb --- /dev/null +++ b/ApiDoc/com/mogo/realtime/util/package-tree.html @@ -0,0 +1,140 @@ + + + + + + +com.mogo.realtime.util 类分层结构 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

程序包com.mogo.realtime.util的分层结构

+程序包分层结构: + +
+
+

类分层结构

+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/com/mogo/realtime/util/package-use.html b/ApiDoc/com/mogo/realtime/util/package-use.html new file mode 100644 index 0000000..fb9a4d8 --- /dev/null +++ b/ApiDoc/com/mogo/realtime/util/package-use.html @@ -0,0 +1,181 @@ + + + + + + +程序包 com.mogo.realtime.util的使用 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

程序包的使用
com.mogo.realtime.util

+
+
+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/constant-values.html b/ApiDoc/constant-values.html new file mode 100644 index 0000000..bcf458b --- /dev/null +++ b/ApiDoc/constant-values.html @@ -0,0 +1,168 @@ + + + + + + +常量字段值 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

常量字段值

+

目录

+ +
+
+ + +

com.mogo.*

+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/deprecated-list.html b/ApiDoc/deprecated-list.html new file mode 100644 index 0000000..3503840 --- /dev/null +++ b/ApiDoc/deprecated-list.html @@ -0,0 +1,125 @@ + + + + + + +已过时的列表 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

已过时的 API

+

目录

+
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/help-doc.html b/ApiDoc/help-doc.html new file mode 100644 index 0000000..aa19c71 --- /dev/null +++ b/ApiDoc/help-doc.html @@ -0,0 +1,230 @@ + + + + + + +API 帮助 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

此 API 文档的组织方式

+
此 API (应用程序编程接口) 文档包含对应于导航栏中的项目的页面, 如下所述。
+
+
+ +此帮助文件适用于使用标准 doclet 生成的 API 文档。
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/index-files/index-1.html b/ApiDoc/index-files/index-1.html new file mode 100644 index 0000000..106e5bc --- /dev/null +++ b/ApiDoc/index-files/index-1.html @@ -0,0 +1,140 @@ + + + + + + +A - 索引 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
A C D E F G H I L M O P R S T U W  + + +

A

+
+
adas - 类 中的变量com.mogo.realtime.entity.OnePerSecondSendContent
+
+
adas 识别物体:1s 识别到的最后帧
+
+
ADASRecognizedResult - com.mogo.realtime.entity中的类
+
 
+
ADASRecognizedResult() - 类 的构造器com.mogo.realtime.entity.ADASRecognizedResult
+
 
+
alt - 类 中的变量com.mogo.realtime.entity.ADASRecognizedResult
+
+
海拔
+
+
+A C D E F G H I L M O P R S T U W 
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/index-files/index-10.html b/ApiDoc/index-files/index-10.html new file mode 100644 index 0000000..6a9ebd0 --- /dev/null +++ b/ApiDoc/index-files/index-10.html @@ -0,0 +1,166 @@ + + + + + + +M - 索引 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
A C D E F G H I L M O P R S T U W  + + +

M

+
+
MoGoAiCloudRealTime - com.mogo.realtime.Interface中的类
+
+
RealTime实时上报数据服务SDK
+
+
MoGoAiCloudRealTime() - 类 的构造器com.mogo.realtime.Interface.MoGoAiCloudRealTime
+
 
+
MogoLatLng - com.mogo.realtime.util中的类
+
+
经纬度
+
+
MogoLatLng(double, double) - 类 的构造器com.mogo.realtime.util.MogoLatLng
+
 
+
MogoLatLng(Parcel) - 类 的构造器com.mogo.realtime.util.MogoLatLng
+
 
+
MogoRTKLocation - com.mogo.realtime.location中的类
+
+
AI云SDK内部定位服务
+
+
MogoSnapshotSetData - com.mogo.realtime.entity中的类
+
 
+
MogoSnapshotSetData() - 类 的构造器com.mogo.realtime.entity.MogoSnapshotSetData
+
 
+
MogoSnapshotSetData(Parcel) - 类 的构造器com.mogo.realtime.entity.MogoSnapshotSetData
+
 
+
mortonCode - 类 中的变量com.mogo.realtime.entity.ADASRecognizedResult
+
+
莫顿码
+
+
mortonCode - 类 中的变量com.mogo.realtime.entity.LocationResult
+
+
最后一个定位点的莫顿码
+
+
MortonCode - com.mogo.realtime.util中的类
+
+
莫顿编码
+
+
MortonCode() - 类 的构造器com.mogo.realtime.util.MortonCode
+
 
+
+A C D E F G H I L M O P R S T U W 
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/index-files/index-11.html b/ApiDoc/index-files/index-11.html new file mode 100644 index 0000000..d78804a --- /dev/null +++ b/ApiDoc/index-files/index-11.html @@ -0,0 +1,148 @@ + + + + + + +O - 索引 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
A C D E F G H I L M O P R S T U W  + + +

O

+
+
onAck(long) - 接口 中的方法com.mogo.realtime.socket.IMogoCloudOnAckListener
+
+
对齐系统时间
+
+
OnePerSecondSendContent - com.mogo.realtime.entity中的类
+
+
自车上报数据 1s内一次
+
+
OnePerSecondSendContent() - 类 的构造器com.mogo.realtime.entity.OnePerSecondSendContent
+
 
+
onMsgReceived(MogoSnapshotSetData) - 接口 中的方法com.mogo.realtime.socket.IMogoCloudOnMsgListener
+
+
长连接数据接收回调
+
+
onMsgSend(long) - 接口 中的方法com.mogo.realtime.socket.IMogoCloudOnMsgListener
+
+
长连接数据发送回调
+
+
onRecordFinish(List<CloudLocationInfo>, List<CloudLocationInfo>, List<CloudLocationInfo>, List<CloudLocationInfo>) - 接口 中的方法com.mogo.realtime.core.SimpleLocationCorrectStrategy.RecordLocationListener
+
 
+
+A C D E F G H I L M O P R S T U W 
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/index-files/index-12.html b/ApiDoc/index-files/index-12.html new file mode 100644 index 0000000..bd00331 --- /dev/null +++ b/ApiDoc/index-files/index-12.html @@ -0,0 +1,130 @@ + + + + + + +P - 索引 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
A C D E F G H I L M O P R S T U W  + + +

P

+
+
print() - 类 中的方法com.mogo.realtime.entity.CloudLocationInfo
+
 
+
+A C D E F G H I L M O P R S T U W 
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/index-files/index-13.html b/ApiDoc/index-files/index-13.html new file mode 100644 index 0000000..03a536a --- /dev/null +++ b/ApiDoc/index-files/index-13.html @@ -0,0 +1,150 @@ + + + + + + +R - 索引 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
A C D E F G H I L M O P R S T U W  + + +

R

+
+
RealTimeProvider - com.mogo.realtime.Interface中的接口
+
+
蘑菇AI云平台实时定位点上报服务接口
+
+
RealTimeProviderImp - com.mogo.realtime.spi中的类
+
+
RealTime Provider SPI 单例对象
+
+
RealTimeProviderImp() - 类 的构造器com.mogo.realtime.spi.RealTimeProviderImp
+
 
+
registerOnMsgListener(IMogoCloudOnMsgListener) - 类 中的静态方法com.mogo.realtime.Interface.MoGoAiCloudRealTime
+
+
注册上报定位回调
+
+
registerOnMsgListener(IMogoCloudOnMsgListener) - 类 中的方法com.mogo.realtime.socket.SocketHandler
+
 
+
resetUploadDelay(long) - 类 中的方法com.mogo.realtime.core.UploadInTimeHandler
+
+
默认保持UploadInTimeHandler.uploadDelay间隔进行位置上报,如遇服务端控制,进行上报间隔修改
+
+
resetUploadDelayListener(IMogoCloudOnAckListener) - 类 中的方法com.mogo.realtime.socket.SocketHandler
+
 
+
+A C D E F G H I L M O P R S T U W 
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/index-files/index-14.html b/ApiDoc/index-files/index-14.html new file mode 100644 index 0000000..512c2cb --- /dev/null +++ b/ApiDoc/index-files/index-14.html @@ -0,0 +1,262 @@ + + + + + + +S - 索引 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
A C D E F G H I L M O P R S T U W  + + +

S

+
+
satelliteTime - 类 中的变量com.mogo.realtime.entity.ADASRecognizedResult
+
+
定位卫星时间
+
+
self - 类 中的变量com.mogo.realtime.entity.OnePerSecondSendContent
+
+
自车定位点
+
+
sendLocationData() - 类 中的方法com.mogo.realtime.core.SnapshotUploadInTime
+
 
+
sendLocationData() - 接口 中的方法com.mogo.realtime.core.UploadInTimeHandler.IUploadInTimeListener
+
+
上报自车数据
+
+
sendLocationData() - 类 中的方法com.mogo.realtime.location.MogoRTKLocation
+
 
+
sendMsg(List<CloudLocationInfo>) - 类 中的方法com.mogo.realtime.socket.SocketHandler
+
+
发送自车和ADAS数据
+
+
setAllList(List<CloudRoadData>) - 类 中的方法com.mogo.realtime.entity.MogoSnapshotSetData
+
 
+
setAlt(double) - 类 中的方法com.mogo.realtime.entity.CloudLocationInfo
+
 
+
setCamera(CloudRoadData) - 类 中的方法com.mogo.realtime.entity.MogoSnapshotSetData
+
 
+
setCoordinates(List<CloudLocationInfo>) - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
setDistance(double) - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
setExpire(long) - 类 中的方法com.mogo.realtime.entity.MogoSnapshotSetData
+
 
+
setFromType(int) - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
setHeading(double) - 类 中的方法com.mogo.realtime.entity.CloudLocationInfo
+
 
+
setHeading(double) - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
setLat(double) - 类 中的方法com.mogo.realtime.entity.CloudLocationInfo
+
 
+
setLat(double) - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
setLightLeftTime(int) - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
setLightStatus(int) - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
setLon(double) - 类 中的方法com.mogo.realtime.entity.CloudLocationInfo
+
 
+
setLon(double) - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
setMsgId(String) - 类 中的方法com.mogo.realtime.entity.MogoSnapshotSetData
+
 
+
setNearList(List<CloudRoadData>) - 类 中的方法com.mogo.realtime.entity.MogoSnapshotSetData
+
 
+
setRecordLocationListener(SimpleLocationCorrectStrategy.RecordLocationListener) - 类 中的方法com.mogo.realtime.core.SimpleLocationCorrectStrategy
+
 
+
setRtmpUrl(String) - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
setSatelliteTime(long) - 类 中的方法com.mogo.realtime.entity.CloudLocationInfo
+
 
+
setSpeed(double) - 类 中的方法com.mogo.realtime.entity.CloudLocationInfo
+
 
+
setSpeed(double) - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
setSystemTime(long) - 类 中的方法com.mogo.realtime.entity.CloudLocationInfo
+
 
+
setSystemTime(long) - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
setTime(long) - 类 中的方法com.mogo.realtime.entity.MogoSnapshotSetData
+
 
+
setTrafficLight(CloudRoadData) - 类 中的方法com.mogo.realtime.entity.MogoSnapshotSetData
+
 
+
setType(int) - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
setUploadInTimeListener(UploadInTimeHandler.IUploadInTimeListener) - 类 中的方法com.mogo.realtime.core.UploadInTimeHandler
+
 
+
setUuid(String) - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
SimpleLocationCorrectStrategy - com.mogo.realtime.core中的类
+
+
定位预测纠错策略
+
+
SimpleLocationCorrectStrategy() - 类 的构造器com.mogo.realtime.core.SimpleLocationCorrectStrategy
+
 
+
SimpleLocationCorrectStrategy.RecordLocationListener - com.mogo.realtime.core中的接口
+
 
+
sn - 类 中的变量com.mogo.realtime.entity.LocationResult
+
+
sn 车辆唯一识别号
+
+
SnapshotUploadInTime - com.mogo.realtime.core中的类
+
+
上报坐标服务
+
+
SocketHandler - com.mogo.realtime.socket中的类
+
+
Socket长链 业务服务处理类
+
+
SocketHandler() - 类 的构造器com.mogo.realtime.socket.SocketHandler
+
 
+
speed - 类 中的变量com.mogo.realtime.entity.ADASRecognizedResult
+
+
速度
+
+
start(Context, String) - 类 中的方法com.mogo.realtime.core.SnapshotUploadInTime
+
+
开始实时定位数据上报
+
+
start() - 类 中的方法com.mogo.realtime.core.UploadInTimeHandler
+
 
+
startRealTime(Context, String) - 类 中的静态方法com.mogo.realtime.Interface.MoGoAiCloudRealTime
+
+
开始实时上报定位坐标服务
+
+
stop() - 类 中的方法com.mogo.realtime.core.SnapshotUploadInTime
+
+
停止实时定位数据上报
+
+
stop() - 类 中的方法com.mogo.realtime.core.UploadInTimeHandler
+
 
+
stop() - 类 中的方法com.mogo.realtime.location.MogoRTKLocation
+
+
关闭定位服务
+
+
stop() - 类 中的方法com.mogo.realtime.socket.SocketHandler
+
 
+
stopRealTime() - 类 中的静态方法com.mogo.realtime.Interface.MoGoAiCloudRealTime
+
+
停止实时上报定位坐标服务
+
+
systemTime - 类 中的变量com.mogo.realtime.entity.ADASRecognizedResult
+
+
系统时间
+
+
+A C D E F G H I L M O P R S T U W 
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/index-files/index-15.html b/ApiDoc/index-files/index-15.html new file mode 100644 index 0000000..8545d7a --- /dev/null +++ b/ApiDoc/index-files/index-15.html @@ -0,0 +1,138 @@ + + + + + + +T - 索引 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
A C D E F G H I L M O P R S T U W  + + +

T

+
+
toString() - 类 中的方法com.mogo.realtime.entity.CloudLocationInfo
+
 
+
toString() - 类 中的方法com.mogo.realtime.entity.MogoSnapshotSetData
+
 
+
toString() - 类 中的方法com.mogo.realtime.util.MogoLatLng
+
 
+
type - 类 中的变量com.mogo.realtime.entity.ADASRecognizedResult
+
+
识别物体类型
+
+
+A C D E F G H I L M O P R S T U W 
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/index-files/index-16.html b/ApiDoc/index-files/index-16.html new file mode 100644 index 0000000..924dd81 --- /dev/null +++ b/ApiDoc/index-files/index-16.html @@ -0,0 +1,146 @@ + + + + + + +U - 索引 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
A C D E F G H I L M O P R S T U W  + + +

U

+
+
unRegisterOnMsgListener(IMogoCloudOnMsgListener) - 类 中的静态方法com.mogo.realtime.Interface.MoGoAiCloudRealTime
+
+
取消注册上报定位回调
+
+
unRegisterOnMsgListener(IMogoCloudOnMsgListener) - 类 中的方法com.mogo.realtime.socket.SocketHandler
+
 
+
UploadInTimeHandler - com.mogo.realtime.core中的类
+
+
AI云 实时上报数据频率处理类
+
+
UploadInTimeHandler.IUploadInTimeListener - com.mogo.realtime.core中的接口
+
+
实时上报数据回调
+
+
uuid - 类 中的变量com.mogo.realtime.entity.ADASRecognizedResult
+
+
识别物体唯一标识
+
+
+A C D E F G H I L M O P R S T U W 
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/index-files/index-17.html b/ApiDoc/index-files/index-17.html new file mode 100644 index 0000000..6ba2f30 --- /dev/null +++ b/ApiDoc/index-files/index-17.html @@ -0,0 +1,138 @@ + + + + + + +W - 索引 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
A C D E F G H I L M O P R S T U W  + + +

W

+
+
wrapEncodeMorton(Double, Double) - 类 中的静态方法com.mogo.realtime.util.MortonCode
+
 
+
writeToParcel(Parcel, int) - 类 中的方法com.mogo.realtime.entity.CloudLocationInfo
+
 
+
writeToParcel(Parcel, int) - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
writeToParcel(Parcel, int) - 类 中的方法com.mogo.realtime.entity.MogoSnapshotSetData
+
 
+
writeToParcel(Parcel, int) - 类 中的方法com.mogo.realtime.util.MogoLatLng
+
 
+
+A C D E F G H I L M O P R S T U W 
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/index-files/index-2.html b/ApiDoc/index-files/index-2.html new file mode 100644 index 0000000..dc33ecc --- /dev/null +++ b/ApiDoc/index-files/index-2.html @@ -0,0 +1,195 @@ + + + + + + +C - 索引 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
A C D E F G H I L M O P R S T U W  + + +

C

+
+
carId - 类 中的变量com.mogo.realtime.entity.ADASRecognizedResult
+
+
车ID
+
+
CloudLocationInfo - com.mogo.realtime.entity中的类
+
+
自车定位信息
+
+
CloudLocationInfo() - 类 的构造器com.mogo.realtime.entity.CloudLocationInfo
+
 
+
CloudLocationInfo(CloudLocationInfo) - 类 的构造器com.mogo.realtime.entity.CloudLocationInfo
+
 
+
CloudLocationInfo(Parcel) - 类 的构造器com.mogo.realtime.entity.CloudLocationInfo
+
 
+
cloudLocationToMogoLatLng(CloudLocationInfo) - 类 中的静态方法com.mogo.realtime.util.LocationParseUtil
+
 
+
CloudRoadData - com.mogo.realtime.entity中的类
+
+
AI云平台下发 道路数据
+
+
CloudRoadData() - 类 的构造器com.mogo.realtime.entity.CloudRoadData
+
 
+
CloudRoadData(Parcel) - 类 的构造器com.mogo.realtime.entity.CloudRoadData
+
 
+
color - 类 中的变量com.mogo.realtime.entity.ADASRecognizedResult
+
+
红绿灯颜色
+
+
com.mogo.realtime.core - 程序包 com.mogo.realtime.core
+
 
+
com.mogo.realtime.entity - 程序包 com.mogo.realtime.entity
+
 
+
com.mogo.realtime.Interface - 程序包 com.mogo.realtime.Interface
+
 
+
com.mogo.realtime.location - 程序包 com.mogo.realtime.location
+
 
+
com.mogo.realtime.socket - 程序包 com.mogo.realtime.socket
+
 
+
com.mogo.realtime.spi - 程序包 com.mogo.realtime.spi
+
 
+
com.mogo.realtime.util - 程序包 com.mogo.realtime.util
+
 
+
computerThatLonLat(double, double, double, double) - 类 中的方法com.mogo.realtime.core.SimpleLocationCorrectStrategy
+
+
根据距离和角度计算下一个经纬度 + 大地坐标系资料WGS-84 长半径a=6378137 短半径b=6356752.3142 扁率f=1/298.2572236
+
+
convertCoor2GCJ02() - 类 中的方法com.mogo.realtime.entity.CloudLocationInfo
+
 
+
coordinates - 类 中的变量com.mogo.realtime.entity.LocationResult
+
+
1s 内的连续定位点
+
+
correct(CloudLocationInfo) - 类 中的方法com.mogo.realtime.core.SimpleLocationCorrectStrategy
+
 
+
CREATOR - 类 中的静态变量com.mogo.realtime.entity.CloudLocationInfo
+
 
+
CREATOR - 类 中的静态变量com.mogo.realtime.entity.CloudRoadData
+
 
+
CREATOR - 类 中的静态变量com.mogo.realtime.entity.MogoSnapshotSetData
+
 
+
CREATOR - 类 中的静态变量com.mogo.realtime.util.MogoLatLng
+
 
+
curSpeed - 类 中的变量com.mogo.realtime.entity.MogoSnapshotSetData
+
+
自车速度 本地添加
+
+
+A C D E F G H I L M O P R S T U W 
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/index-files/index-3.html b/ApiDoc/index-files/index-3.html new file mode 100644 index 0000000..aee6f1f --- /dev/null +++ b/ApiDoc/index-files/index-3.html @@ -0,0 +1,140 @@ + + + + + + +D - 索引 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
A C D E F G H I L M O P R S T U W  + + +

D

+
+
decodeMorton(long) - 类 中的静态方法com.mogo.realtime.util.MortonCode
+
+
将莫顿码解码为坐标
+
+
describeContents() - 类 中的方法com.mogo.realtime.entity.CloudLocationInfo
+
 
+
describeContents() - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
describeContents() - 类 中的方法com.mogo.realtime.entity.MogoSnapshotSetData
+
 
+
describeContents() - 类 中的方法com.mogo.realtime.util.MogoLatLng
+
 
+
+A C D E F G H I L M O P R S T U W 
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/index-files/index-4.html b/ApiDoc/index-files/index-4.html new file mode 100644 index 0000000..216e965 --- /dev/null +++ b/ApiDoc/index-files/index-4.html @@ -0,0 +1,138 @@ + + + + + + +E - 索引 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
A C D E F G H I L M O P R S T U W  + + +

E

+
+
encodeMorton(Double, Double) - 类 中的静态方法com.mogo.realtime.util.MortonCode
+
+
编码 morton code
+
+
equals(Object) - 类 中的方法com.mogo.realtime.entity.CloudLocationInfo
+
 
+
equals(Object) - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
equals(Object) - 类 中的方法com.mogo.realtime.util.MogoLatLng
+
 
+
+A C D E F G H I L M O P R S T U W 
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/index-files/index-5.html b/ApiDoc/index-files/index-5.html new file mode 100644 index 0000000..b3da629 --- /dev/null +++ b/ApiDoc/index-files/index-5.html @@ -0,0 +1,134 @@ + + + + + + +F - 索引 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
A C D E F G H I L M O P R S T U W  + + +

F

+
+
FROM_ADAS - 类 中的静态变量com.mogo.realtime.entity.CloudRoadData
+
 
+
FROM_MY_LOCATION - 类 中的静态变量com.mogo.realtime.entity.CloudRoadData
+
 
+
FROM_ROAD_UNIT - 类 中的静态变量com.mogo.realtime.entity.CloudRoadData
+
 
+
+A C D E F G H I L M O P R S T U W 
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/index-files/index-6.html b/ApiDoc/index-files/index-6.html new file mode 100644 index 0000000..57a8bb0 --- /dev/null +++ b/ApiDoc/index-files/index-6.html @@ -0,0 +1,214 @@ + + + + + + +G - 索引 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
A C D E F G H I L M O P R S T U W  + + +

G

+
+
getAllList() - 类 中的方法com.mogo.realtime.entity.MogoSnapshotSetData
+
 
+
getAlt() - 类 中的方法com.mogo.realtime.entity.CloudLocationInfo
+
 
+
getCamera() - 类 中的方法com.mogo.realtime.entity.MogoSnapshotSetData
+
 
+
getCoordinates() - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
getDistance() - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
getExpire() - 类 中的方法com.mogo.realtime.entity.MogoSnapshotSetData
+
 
+
getFromType() - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
getHeading() - 类 中的方法com.mogo.realtime.entity.CloudLocationInfo
+
 
+
getHeading() - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
getInstance() - 类 中的静态方法com.mogo.realtime.core.SimpleLocationCorrectStrategy
+
 
+
getInstance() - 类 中的静态方法com.mogo.realtime.core.SnapshotUploadInTime
+
 
+
getInstance() - 类 中的静态方法com.mogo.realtime.core.UploadInTimeHandler
+
 
+
getInstance() - 类 中的静态方法com.mogo.realtime.location.MogoRTKLocation
+
 
+
getInstance() - 类 中的静态方法com.mogo.realtime.socket.SocketHandler
+
 
+
getInstance() - 类 中的静态方法com.mogo.realtime.spi.RealTimeProviderImp
+
 
+
getLastADASRecognizedResult() - 接口 中的方法com.mogo.realtime.Interface.RealTimeProvider
+
+
获取 adas 识别列表,由外部传入
+
+
getLastADASRecognizedResult() - 类 中的方法com.mogo.realtime.spi.RealTimeProviderImp
+
 
+
getLat() - 类 中的方法com.mogo.realtime.entity.CloudLocationInfo
+
 
+
getLat() - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
getLat() - 类 中的方法com.mogo.realtime.util.MogoLatLng
+
 
+
getLightLeftTime() - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
getLightStatus() - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
getLocationMsg() - 接口 中的方法com.mogo.realtime.Interface.RealTimeProvider
+
+
发送消息,由外部传入
+
+
getLocationMsg() - 类 中的方法com.mogo.realtime.spi.RealTimeProviderImp
+
 
+
getLon() - 类 中的方法com.mogo.realtime.entity.CloudLocationInfo
+
 
+
getLon() - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
getLon() - 类 中的方法com.mogo.realtime.util.MogoLatLng
+
 
+
getMsgId() - 类 中的方法com.mogo.realtime.entity.MogoSnapshotSetData
+
 
+
getNearList() - 类 中的方法com.mogo.realtime.entity.MogoSnapshotSetData
+
 
+
getRtmpUrl() - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
getSatelliteTime() - 类 中的方法com.mogo.realtime.entity.CloudLocationInfo
+
 
+
getSn() - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
getSpeed() - 类 中的方法com.mogo.realtime.entity.CloudLocationInfo
+
 
+
getSpeed() - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
getSystemTime() - 类 中的方法com.mogo.realtime.entity.CloudLocationInfo
+
 
+
getSystemTime() - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
getTime() - 类 中的方法com.mogo.realtime.entity.MogoSnapshotSetData
+
 
+
getTrafficLight() - 类 中的方法com.mogo.realtime.entity.MogoSnapshotSetData
+
 
+
getType() - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
getUniqueKey() - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
getUuid() - 类 中的方法com.mogo.realtime.entity.CloudRoadData
+
 
+
+A C D E F G H I L M O P R S T U W 
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/index-files/index-7.html b/ApiDoc/index-files/index-7.html new file mode 100644 index 0000000..3a62f3e --- /dev/null +++ b/ApiDoc/index-files/index-7.html @@ -0,0 +1,136 @@ + + + + + + +H - 索引 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
A C D E F G H I L M O P R S T U W  + + +

H

+
+
hashCode() - 类 中的方法com.mogo.realtime.entity.CloudLocationInfo
+
 
+
hashCode() - 类 中的方法com.mogo.realtime.util.MogoLatLng
+
 
+
heading - 类 中的变量com.mogo.realtime.entity.ADASRecognizedResult
+
+
车头朝向
+
+
+A C D E F G H I L M O P R S T U W 
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/index-files/index-8.html b/ApiDoc/index-files/index-8.html new file mode 100644 index 0000000..9f98cec --- /dev/null +++ b/ApiDoc/index-files/index-8.html @@ -0,0 +1,144 @@ + + + + + + +I - 索引 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
A C D E F G H I L M O P R S T U W  + + +

I

+
+
IMogoCloudOnAckListener - com.mogo.realtime.socket中的接口
+
+
长连接数据消息ack回调
+
+
IMogoCloudOnMsgListener - com.mogo.realtime.socket中的接口
+
+
长连接数据上报下发回调
+
+
init() - 类 中的方法com.mogo.realtime.location.MogoRTKLocation
+
+
开启定位服务
+
+
initSocket(Context, String) - 类 中的方法com.mogo.realtime.socket.SocketHandler
+
+
初始化长连接服务
+
+
+A C D E F G H I L M O P R S T U W 
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/index-files/index-9.html b/ApiDoc/index-files/index-9.html new file mode 100644 index 0000000..30e4fe2 --- /dev/null +++ b/ApiDoc/index-files/index-9.html @@ -0,0 +1,158 @@ + + + + + + +L - 索引 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
A C D E F G H I L M O P R S T U W  + + +

L

+
+
lastCoordinate - 类 中的变量com.mogo.realtime.entity.LocationResult
+
+
最后一个定位点
+
+
lat - 类 中的变量com.mogo.realtime.entity.ADASRecognizedResult
+
+
识别物体的纬度
+
+
lat - 类 中的变量com.mogo.realtime.util.MogoLatLng
+
 
+
LocationParseUtil - com.mogo.realtime.util中的类
+
+
定位数据类型转换工具
+
+
LocationParseUtil() - 类 的构造器com.mogo.realtime.util.LocationParseUtil
+
 
+
LocationResult - com.mogo.realtime.entity中的类
+
 
+
LocationResult() - 类 的构造器com.mogo.realtime.entity.LocationResult
+
 
+
locationToCloudLocation(Location) - 类 中的静态方法com.mogo.realtime.util.LocationParseUtil
+
+
从Location 转 CloudLocationInfo
+
+
lon - 类 中的变量com.mogo.realtime.entity.ADASRecognizedResult
+
+
识别物体的经度
+
+
lon - 类 中的变量com.mogo.realtime.util.MogoLatLng
+
 
+
+A C D E F G H I L M O P R S T U W 
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/index.html b/ApiDoc/index.html new file mode 100644 index 0000000..20879d9 --- /dev/null +++ b/ApiDoc/index.html @@ -0,0 +1,76 @@ + + + + + + +蘑菇AI云平台Doc + + + + + + + + + +<noscript> +<div>您的浏览器已禁用 JavaScript。</div> +</noscript> +<h2>框架预警</h2> +<p>请使用框架功能查看此文档。如果看到此消息, 则表明您使用的是不支持框架的 Web 客户机。链接到<a href="overview-summary.html">非框架版本</a>。</p> + + + diff --git a/ApiDoc/overview-frame.html b/ApiDoc/overview-frame.html new file mode 100644 index 0000000..0d28c4c --- /dev/null +++ b/ApiDoc/overview-frame.html @@ -0,0 +1,28 @@ + + + + + + +概览列表 (蘑菇AI云平台Doc) + + + + + +
所有类
+
+

程序包

+ +
+

 

+ + diff --git a/ApiDoc/overview-summary.html b/ApiDoc/overview-summary.html new file mode 100644 index 0000000..f5212ea --- /dev/null +++ b/ApiDoc/overview-summary.html @@ -0,0 +1,160 @@ + + + + + + +概览 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
程序包 
程序包说明
com.mogo.realtime.core 
com.mogo.realtime.entity 
com.mogo.realtime.Interface 
com.mogo.realtime.location 
com.mogo.realtime.socket 
com.mogo.realtime.spi 
com.mogo.realtime.util 
+
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/overview-tree.html b/ApiDoc/overview-tree.html new file mode 100644 index 0000000..84a1e7a --- /dev/null +++ b/ApiDoc/overview-tree.html @@ -0,0 +1,167 @@ + + + + + + +类分层结构 (蘑菇AI云平台Doc) + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + +
+

所有程序包的分层结构

+程序包分层结构: + +
+
+

类分层结构

+ +

接口分层结构

+ +
+ +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/ApiDoc/package-list b/ApiDoc/package-list new file mode 100644 index 0000000..230b9bb --- /dev/null +++ b/ApiDoc/package-list @@ -0,0 +1,7 @@ +com.mogo.realtime.Interface +com.mogo.realtime.core +com.mogo.realtime.entity +com.mogo.realtime.location +com.mogo.realtime.socket +com.mogo.realtime.spi +com.mogo.realtime.util diff --git a/ApiDoc/script.js b/ApiDoc/script.js new file mode 100644 index 0000000..b346356 --- /dev/null +++ b/ApiDoc/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/ApiDoc/stylesheet.css b/ApiDoc/stylesheet.css new file mode 100644 index 0000000..98055b2 --- /dev/null +++ b/ApiDoc/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/app/src/main/java/com/mogo/cloud/RealTimeActivity.java b/app/src/main/java/com/mogo/cloud/RealTimeActivity.java index f9ab3c4..218e129 100644 --- a/app/src/main/java/com/mogo/cloud/RealTimeActivity.java +++ b/app/src/main/java/com/mogo/cloud/RealTimeActivity.java @@ -1,24 +1,25 @@ package com.mogo.cloud; import android.os.Bundle; +import android.util.Log; import android.widget.Button; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import com.mogo.cloud.passport.MoGoAiCloudClient; -import com.mogo.realtime.core.SnapshotUploadInTime; +import com.mogo.realtime.Interface.MoGoAiCloudRealTime; import com.mogo.realtime.entity.MogoSnapshotSetData; import com.mogo.realtime.socket.IMogoCloudOnMsgListener; -import java.nio.Buffer; - /** * @author liujing * @description 描述 * @since: 2021/1/21 */ -public class RealTimeActivity extends AppCompatActivity { +public class RealTimeActivity extends AppCompatActivity implements IMogoCloudOnMsgListener { + + private static final String TAG = "RealTimeActivity"; private Button snapshotStartButton; private Button snapshotStopButton; @@ -32,18 +33,14 @@ public class RealTimeActivity extends AppCompatActivity { snapshotStartButton = findViewById(R.id.snapshotStart); snapshotStartButton.setOnClickListener(view -> { if (MoGoAiCloudClient.getInstance().getAiCloudClientConfig().isNeedUploadCoordinatesDurationInTime()) { -// SnapshotUploadInTime.getInstance().start(getApplicationContext(), "com.mogo.launcher", new IMogoCloudOnMsgListener() { -// @Override -// public void onMsgReceived(MogoSnapshotSetData mogoSnapshotSetData) { -// -// } -// }); + MoGoAiCloudRealTime.startRealTime(this, "com.mogo.launcher"); + MoGoAiCloudRealTime.registerOnMsgListener(this); } }); - snapshotStopButton = findViewById(R.id.snapshotStart); + snapshotStopButton = findViewById(R.id.snapshotStop); snapshotStopButton.setOnClickListener(view -> { -// SnapshotUploadInTime.getInstance().stop(); + stopRealTimeService(); }); } @@ -51,7 +48,26 @@ public class RealTimeActivity extends AppCompatActivity { private void setConfig() { MoGoAiCloudClient.getInstance().getAiCloudClientConfig().setIsUseExternalLocation(false); MoGoAiCloudClient.getInstance().getAiCloudClientConfig().setNeedUploadCoordinatesDurationInTime(true); - } + public void stopRealTimeService() { + MoGoAiCloudRealTime.unRegisterOnMsgListener(this); + MoGoAiCloudRealTime.stopRealTime(); + } + + @Override + protected void onDestroy() { + super.onDestroy(); + stopRealTimeService(); + } + + @Override + public void onMsgSend(long id) { + Log.i(TAG, "send msg id : " + id); + } + + @Override + public void onMsgReceived(MogoSnapshotSetData mogoSnapshotSetData) { + Log.i(TAG, "onMsgReceived : " + mogoSnapshotSetData); + } } diff --git a/app/src/main/java/com/mogo/cloud/SPIRealTimeTestClass.java b/app/src/main/java/com/mogo/cloud/SPIRealTimeTestClass.java index 90f6566..dfbe634 100644 --- a/app/src/main/java/com/mogo/cloud/SPIRealTimeTestClass.java +++ b/app/src/main/java/com/mogo/cloud/SPIRealTimeTestClass.java @@ -5,7 +5,9 @@ import com.mogo.realtime.Interface.RealTimeProvider; import com.mogo.realtime.entity.ADASRecognizedResult; import com.mogo.realtime.entity.CloudLocationInfo; import com.mogo.realtime.socket.IMogoCloudOnMsgListener; +import com.zhidao.utils.common.SystemUtils; +import java.util.ArrayList; import java.util.List; /** @@ -18,7 +20,7 @@ class SPIRealTimeTestClass implements RealTimeProvider { @Override public List getLastADASRecognizedResult() { - List list = null; + List list = new ArrayList<>(); ADASRecognizedResult recognizedResult = new ADASRecognizedResult(); recognizedResult.lat = 39.968309; recognizedResult.lon = 116.410871; @@ -31,6 +33,16 @@ class SPIRealTimeTestClass implements RealTimeProvider { @Override public List getLocationMsg() { - return null; + List list = new ArrayList<>(); + CloudLocationInfo info = new CloudLocationInfo(); + info.setAlt(55); + info.setLat(39.968309); + info.setLon(116.410871); + info.setSatelliteTime(System.currentTimeMillis()); + info.setSystemTime(System.currentTimeMillis()); + info.setHeading(120); + info.setSpeed(7.0); + list.add(info); + return list; } } diff --git a/app/src/main/java/com/mogo/cloud/network/NetworkActivity.java b/app/src/main/java/com/mogo/cloud/network/NetworkActivity.java index fbd33e5..30b5bcf 100644 --- a/app/src/main/java/com/mogo/cloud/network/NetworkActivity.java +++ b/app/src/main/java/com/mogo/cloud/network/NetworkActivity.java @@ -14,20 +14,14 @@ import com.mogo.cloud.commons.network.BaseData; import com.mogo.cloud.commons.network.RetrofitFactory; import com.mogo.cloud.tanlu.MogoRoadSearchManager; import com.mogo.cloud.tanlu.MogoUploadManager; -import com.mogo.cloud.tanlu.UploadManager; import com.mogo.cloud.tanlu.api.IRoadInfoSearchCallback; import com.mogo.cloud.tanlu.api.ITanluUploadCallback; -import com.mogo.cloud.tanlu.bean.InformationBody; import com.mogo.cloud.tanlu.bean.RoadInfos; import com.mogo.cloud.tanlu.bean.UploadInfo; import com.mogo.cloud.tanlu.bean.UploadResult; - -import java.util.ArrayList; import java.util.HashMap; -import java.util.List; import java.util.Map; -import java.util.concurrent.atomic.AtomicInteger; import io.reactivex.Observer; import io.reactivex.android.schedulers.AndroidSchedulers; @@ -45,7 +39,7 @@ public class NetworkActivity extends AppCompatActivity { private Button btn; private TextView tvResult; private ApiService apiService; - private static final String TAG = "liyz"; + private static final String TAG = "NetworkActivity"; @Override @@ -99,48 +93,29 @@ public class NetworkActivity extends AppCompatActivity { } public void uploadRoadInfo() { -// MogoUploadManager.getInstance(NetworkActivity.this).init(); + UploadInfo info = new UploadInfo(); +// info.setFilePath("/storage/emulated/0/Movies/compress_video_20210127112035.mp4"); +// info.setFilePath("/storage/emulated/0/Movies/2222.png"); -// UploadInfo info = new UploadInfo(); -// -// List filePath = new ArrayList<>(); -// filePath.add("/storage/emulated/0/Movies/compress_video_20210126174432.mp4"); -// filePath.add("/data/user/0/com.mogo.launcher.f/Thumbnail1611654285824.jpg"); -// info.setFilePath(filePath); -// -// info.setAddr("北京市东城区小黄庄北街2号靠近中国银行"); -// info.setLongitude(116.410892); -// info.setLatitude(39.968317); -// info.setPoiType("10007"); -// info.setDirection(0); -// info.setAreaCode("110101"); -// info.setCityCode("010"); -// info.setSn("F803EB2046PZD00228"); -// -// MogoUploadManager.getInstance(NetworkActivity.this).uploadInfo(info, new ITanluUploadCallback() { -// @Override -// public void onSuccess(UploadResult result) { -// Log.d(TAG, "NetworkActivity uploadRoadInfo result.id = " + result.id); -// tvResult.setText("onSuccess - " + result.id + ""); -// } -// -// @Override -// public void onFailure(int code) { -// Log.d(TAG, "NetworkActivity uploadRoadInfo code = " + code); -// } -// -// @Override -// public void onError(Throwable e) { -// Log.d(TAG, "NetworkActivity uploadRoadInfo onError e = " + e); -// } -// }); + info.setAddr("北京市东城区小黄庄北街2号靠近中国银行"); + info.setLongitude(116.410892); + info.setLatitude(39.968317); + info.setPoiType("10007"); + info.setDirection(0); + info.setAreaCode("110101"); + info.setCityCode("010"); + info.setSn("F803EB2046PZD00228"); + info.setType(0); //0为图片, 1为视频 - UploadManager.getInstance(NetworkActivity.this).init(); - UploadManager.getInstance(NetworkActivity.this).loadUpload(null, new ITanluUploadCallback() { + MogoUploadManager.getInstance(NetworkActivity.this).uploadInfo(info, new ITanluUploadCallback() { @Override public void onSuccess(BaseData result) { - Log.d(TAG, "NetworkActivity uploadRoadInfo result.id = " + result.getResult().id); - tvResult.setText(result.getResult().id + ""); + if (result != null && result.getResult() != null) { + Log.d(TAG, "NetworkActivity uploadRoadInfo result.id = " + result.getResult().id); + tvResult.setText(result.getResult().id + ""); + } else { + Log.e(TAG, "NetworkActivity uploadRoadInfo result == null"); + } } @Override diff --git a/app/src/main/res/layout/activity_real_time.xml b/app/src/main/res/layout/activity_real_time.xml index 66cbaa9..d9d8e3a 100644 --- a/app/src/main/res/layout/activity_real_time.xml +++ b/app/src/main/res/layout/activity_real_time.xml @@ -18,6 +18,6 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="20dp" - android:text="开启实时数据上传" /> + android:text="结束实时数据上传" /> \ No newline at end of file diff --git a/foudations/mogo-commons/build.gradle b/foudations/mogo-commons/build.gradle index 2076b8c..9ae7b11 100644 --- a/foudations/mogo-commons/build.gradle +++ b/foudations/mogo-commons/build.gradle @@ -15,7 +15,6 @@ android { versionCode 1 versionName "1.0" - testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles "consumer-rules.pro" } @@ -51,12 +50,6 @@ android { dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" - implementation rootProject.ext.dependencies.androidxccorektx - implementation rootProject.ext.dependencies.androidxappcompat - implementation rootProject.ext.dependencies.retrofit - implementation rootProject.ext.dependencies.retrofitadapter - implementation rootProject.ext.dependencies.retrofitconvertergson - implementation rootProject.ext.dependencies.retrofitconverterscalars if (Boolean.valueOf(RELEASE)) { api "com.mogo.cloud:passport:${MOGO_PASSPORT_VERSION}" diff --git a/foudations/mogo-httpdns/build.gradle b/foudations/mogo-httpdns/build.gradle index bf7c86d..f9a556c 100644 --- a/foudations/mogo-httpdns/build.gradle +++ b/foudations/mogo-httpdns/build.gradle @@ -15,7 +15,6 @@ android { versionCode 1 versionName "${MOGO_HTTPDNS_VERSION}" - testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles "consumer-rules.pro" } @@ -54,8 +53,6 @@ android { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" - implementation rootProject.ext.dependencies.androidxccorektx - implementation rootProject.ext.dependencies.androidxappcompat } apply from: new File(rootProject.rootDir, "gradle/upload.gradle").toString() \ No newline at end of file diff --git a/foudations/mogo-passport/build.gradle b/foudations/mogo-passport/build.gradle index 7a61ee2..8c2fb1d 100644 --- a/foudations/mogo-passport/build.gradle +++ b/foudations/mogo-passport/build.gradle @@ -10,7 +10,6 @@ android { versionCode 1 versionName "${MOGO_PASSPORT_VERSION}" - testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles "consumer-rules.pro" } @@ -28,7 +27,6 @@ android { dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) - implementation rootProject.ext.dependencies.androidxappcompat api rootProject.ext.dependencies.mogoutils // passport implementation 'com.zhidao.thirdlogin:third-login:1.0.2' diff --git a/foudations/mogo-socket/src/main/java/com/mogo/cloud/socket/SocketManager.java b/foudations/mogo-socket/src/main/java/com/mogo/cloud/socket/SocketManager.java index 51f7aa9..f13fece 100644 --- a/foudations/mogo-socket/src/main/java/com/mogo/cloud/socket/SocketManager.java +++ b/foudations/mogo-socket/src/main/java/com/mogo/cloud/socket/SocketManager.java @@ -12,6 +12,7 @@ import com.mogo.cloud.passport.MoGoAiCloudClientConfig; import com.mogo.utils.logger.Logger; import com.mogo.utils.network.utils.GsonUtil; import com.zhidao.locupload.Platform; +import com.zhidao.ptech.connsvr.commom.protocol.MogoCommon; import com.zhidao.ptech.connsvr.protocol.MogoConnsvr; import com.zhidao.socket.Callback; import com.zhidao.socket.CallbackManager; @@ -32,7 +33,7 @@ import static com.mogo.cloud.httpdns.MogoHttpDnsConfig.HTTP_DNS_ENV_QA; import static com.mogo.cloud.httpdns.MogoHttpDnsConfig.HTTP_DNS_ENV_RELEASE; /** - * Socket 长链服务 + * Socket 长链核心服务 */ public class SocketManager implements IMogoCloudSocketManager, Callback { @@ -120,7 +121,7 @@ public class SocketManager implements IMogoCloudSocketManager, Callback { public void sendMsg(MsgBody body, IMogoCloudSocketMsgAckListener listener) { Logger.d(TAG, "sendMsg."); final byte[] pb = convertToPBBytes(body.getMsgType(), objectToBytes(body.getContent())); - RequestUtil.sendPayloadData(mAppId, 2, pb, 1, true, System.currentTimeMillis()); + SocketClient.getInstance().sendData(mAppId, MogoCommon.Product.mogoBussiness.getNumber(), pb, 1, true, System.currentTimeMillis()); } @Override diff --git a/modules/mogo-realtime/src/main/java/com/mogo/realtime/Interface/MoGoAiCloudRealTime.java b/modules/mogo-realtime/src/main/java/com/mogo/realtime/Interface/MoGoAiCloudRealTime.java new file mode 100644 index 0000000..6a00a4f --- /dev/null +++ b/modules/mogo-realtime/src/main/java/com/mogo/realtime/Interface/MoGoAiCloudRealTime.java @@ -0,0 +1,45 @@ +package com.mogo.realtime.Interface; + +import android.content.Context; + +import com.mogo.realtime.core.SnapshotUploadInTime; +import com.mogo.realtime.socket.IMogoCloudOnMsgListener; +import com.mogo.realtime.socket.SocketHandler; + +/** + * RealTime实时上报数据服务SDK + */ +public class MoGoAiCloudRealTime { + + /** + * 开始实时上报定位坐标服务 + * @param context 上下文对象 + * @param appId 配置id + */ + public static void startRealTime(Context context, String appId) { + SnapshotUploadInTime.getInstance().start(context, appId); + } + + /** + * 停止实时上报定位坐标服务 + */ + public static void stopRealTime(){ + SnapshotUploadInTime.getInstance().stop(); + } + + /** + * 注册上报定位回调 + * @param onMsgListener {@link IMogoCloudOnMsgListener} + */ + public static void registerOnMsgListener(IMogoCloudOnMsgListener onMsgListener) { + SocketHandler.getInstance().registerOnMsgListener(onMsgListener); + } + + /** + * 取消注册上报定位回调 + * @param onMsgListener {@link IMogoCloudOnMsgListener} + */ + public static void unRegisterOnMsgListener(IMogoCloudOnMsgListener onMsgListener) { + SocketHandler.getInstance().unRegisterOnMsgListener(onMsgListener); + } +} diff --git a/modules/mogo-realtime/src/main/java/com/mogo/realtime/core/SimpleLocationCorrectStrategy.java b/modules/mogo-realtime/src/main/java/com/mogo/realtime/core/SimpleLocationCorrectStrategy.java index 1b3da19..dde89dd 100644 --- a/modules/mogo-realtime/src/main/java/com/mogo/realtime/core/SimpleLocationCorrectStrategy.java +++ b/modules/mogo-realtime/src/main/java/com/mogo/realtime/core/SimpleLocationCorrectStrategy.java @@ -11,7 +11,6 @@ import java.util.ArrayList; import java.util.List; /** - * Ø * 定位预测纠错策略 */ public class SimpleLocationCorrectStrategy { @@ -102,7 +101,6 @@ public class SimpleLocationCorrectStrategy { anchorTime = SystemClock.elapsedRealtime(); errCount++; Logger.d(TAG, "异常点纠偏 info: " + lastLocation); -// return lastLocation; if (recordLocation()) { correctList.add(nextInfo); } @@ -141,7 +139,6 @@ public class SimpleLocationCorrectStrategy { if (recordLocation()) { correctList.add(nextInfo); } -// return lastLocation; return nextInfo; } catch (Exception e) { Logger.e(TAG, e, "纠偏异常"); diff --git a/modules/mogo-realtime/src/main/java/com/mogo/realtime/core/SnapshotUploadInTime.java b/modules/mogo-realtime/src/main/java/com/mogo/realtime/core/SnapshotUploadInTime.java index e648d68..66ecb7b 100644 --- a/modules/mogo-realtime/src/main/java/com/mogo/realtime/core/SnapshotUploadInTime.java +++ b/modules/mogo-realtime/src/main/java/com/mogo/realtime/core/SnapshotUploadInTime.java @@ -33,12 +33,13 @@ public class SnapshotUploadInTime implements UploadInTimeHandler.IUploadInTimeLi return sInstance; } - public synchronized void release() { - sInstance = null; - } - + /** + * 开始实时定位数据上报 + * @param context 上下文对象 + * @param appId 注册id + */ public void start(Context context, String appId) { - //开启内部定位 + //开启内部定位服务 if (!isUseExternalLocation) { MogoRTKLocation.getInstance().init(); } @@ -53,12 +54,19 @@ public class SnapshotUploadInTime implements UploadInTimeHandler.IUploadInTimeLi } + /** + * 停止实时定位数据上报 + */ public void stop() { + //上传数据服务关闭 UploadInTimeHandler.getInstance().stop(); + //关闭长链服务 SocketHandler.getInstance().stop(); + //关闭内部定位服务 if (!isUseExternalLocation) { MogoRTKLocation.getInstance().stop(); } + sInstance = null; } @Override diff --git a/modules/mogo-realtime/src/main/java/com/mogo/realtime/core/UploadInTimeHandler.java b/modules/mogo-realtime/src/main/java/com/mogo/realtime/core/UploadInTimeHandler.java index f9ce08a..ac2e268 100644 --- a/modules/mogo-realtime/src/main/java/com/mogo/realtime/core/UploadInTimeHandler.java +++ b/modules/mogo-realtime/src/main/java/com/mogo/realtime/core/UploadInTimeHandler.java @@ -5,6 +5,9 @@ import android.os.Message; import com.mogo.utils.WorkThreadHandler; +/** + * AI云 实时上报数据频率处理类 + */ public class UploadInTimeHandler { private static final String TAG = "UploadInTimeHandler"; @@ -17,14 +20,14 @@ public class UploadInTimeHandler { private IUploadInTimeListener iUploadInTimeListener; - private UploadInTimeHandler(){ + private UploadInTimeHandler() { } - public static UploadInTimeHandler getInstance(){ - if(uploadInTimeHandler == null){ - synchronized (UploadInTimeHandler.class){ - if(uploadInTimeHandler == null){ + public static UploadInTimeHandler getInstance() { + if (uploadInTimeHandler == null) { + synchronized (UploadInTimeHandler.class) { + if (uploadInTimeHandler == null) { uploadInTimeHandler = new UploadInTimeHandler(); } } @@ -32,14 +35,14 @@ public class UploadInTimeHandler { return uploadInTimeHandler; } - public void start(){ + public void start() { mHandler = new Handler(WorkThreadHandler.newInstance(TAG).getLooper()) { @Override public void handleMessage(Message msg) { super.handleMessage(msg); if (msg.what == MSG_DATA_CHANGED) { mHandler.sendEmptyMessageDelayed(MSG_DATA_CHANGED, uploadDelay); - if(iUploadInTimeListener != null){ + if (iUploadInTimeListener != null) { iUploadInTimeListener.sendLocationData(); } } @@ -48,7 +51,7 @@ public class UploadInTimeHandler { mHandler.sendEmptyMessage(MSG_DATA_CHANGED); } - public void setUploadInTimeListener(IUploadInTimeListener uploadInTimeListener){ + public void setUploadInTimeListener(IUploadInTimeListener uploadInTimeListener) { this.iUploadInTimeListener = uploadInTimeListener; } @@ -64,13 +67,23 @@ public class UploadInTimeHandler { } } - public void stop(){ - mHandler.removeMessages(MSG_DATA_CHANGED); - mHandler = null; + public void stop() { + if (mHandler.hasMessages(MSG_DATA_CHANGED)) { + mHandler.removeMessages(MSG_DATA_CHANGED); + mHandler = null; + } + iUploadInTimeListener = null; + uploadInTimeHandler = null; } + /** + * 实时上报数据回调 + */ public interface IUploadInTimeListener { + /** + * 上报自车数据 + */ void sendLocationData(); } diff --git a/modules/mogo-realtime/src/main/java/com/mogo/realtime/location/MogoRTKLocation.java b/modules/mogo-realtime/src/main/java/com/mogo/realtime/location/MogoRTKLocation.java index 23a77ef..08a9e6a 100644 --- a/modules/mogo-realtime/src/main/java/com/mogo/realtime/location/MogoRTKLocation.java +++ b/modules/mogo-realtime/src/main/java/com/mogo/realtime/location/MogoRTKLocation.java @@ -44,6 +44,9 @@ public class MogoRTKLocation { return list; } + /** + * 开启定位服务 + */ public void init() { locationManager = (LocationManager) MoGoAiCloudClient.getInstance().getContext().getSystemService(Context.LOCATION_SERVICE); String provider = locationManager.getBestProvider(getCriteria(), true); @@ -110,6 +113,9 @@ public class MogoRTKLocation { } }; + /** + * 关闭定位服务 + */ public void stop() { Logger.d(TAG, "stop RTK Location"); if (locationManager != null && locationListener != null) { diff --git a/modules/mogo-realtime/src/main/java/com/mogo/realtime/net/RealTimeApiService.java b/modules/mogo-realtime/src/main/java/com/mogo/realtime/net/RealTimeApiService.java deleted file mode 100644 index e1f9bd8..0000000 --- a/modules/mogo-realtime/src/main/java/com/mogo/realtime/net/RealTimeApiService.java +++ /dev/null @@ -1,10 +0,0 @@ -package com.mogo.realtime.net; - -/** - * @author liujing - * @description <> - * date: 2021/1/20 - */ -interface RealTimeApiService { - -} diff --git a/modules/mogo-realtime/src/main/java/com/mogo/realtime/socket/IMogoCloudOnAckListener.java b/modules/mogo-realtime/src/main/java/com/mogo/realtime/socket/IMogoCloudOnAckListener.java index 09fc360..1d18a35 100644 --- a/modules/mogo-realtime/src/main/java/com/mogo/realtime/socket/IMogoCloudOnAckListener.java +++ b/modules/mogo-realtime/src/main/java/com/mogo/realtime/socket/IMogoCloudOnAckListener.java @@ -1,6 +1,13 @@ package com.mogo.realtime.socket; +/** + * 长连接数据消息ack回调 + */ public interface IMogoCloudOnAckListener { + /** + * 对齐系统时间 + * @param resetTime 系统时间 + */ void onAck(long resetTime); } diff --git a/modules/mogo-realtime/src/main/java/com/mogo/realtime/socket/IMogoCloudOnMsgListener.java b/modules/mogo-realtime/src/main/java/com/mogo/realtime/socket/IMogoCloudOnMsgListener.java index ba641f1..dc779ac 100644 --- a/modules/mogo-realtime/src/main/java/com/mogo/realtime/socket/IMogoCloudOnMsgListener.java +++ b/modules/mogo-realtime/src/main/java/com/mogo/realtime/socket/IMogoCloudOnMsgListener.java @@ -2,7 +2,20 @@ package com.mogo.realtime.socket; import com.mogo.realtime.entity.MogoSnapshotSetData; +/** + * 长连接数据上报下发回调 + */ public interface IMogoCloudOnMsgListener { + /** + * 长连接数据发送回调 + * @param id 发送消息id + */ + void onMsgSend(long id); + + /** + * 长连接数据接收回调 + * @param mogoSnapshotSetData 自车周边数据 + */ void onMsgReceived(MogoSnapshotSetData mogoSnapshotSetData); } diff --git a/modules/mogo-realtime/src/main/java/com/mogo/realtime/socket/SocketHandler.java b/modules/mogo-realtime/src/main/java/com/mogo/realtime/socket/SocketHandler.java index 81fabc5..5db6382 100644 --- a/modules/mogo-realtime/src/main/java/com/mogo/realtime/socket/SocketHandler.java +++ b/modules/mogo-realtime/src/main/java/com/mogo/realtime/socket/SocketHandler.java @@ -121,6 +121,10 @@ public class SocketHandler { } }; + /** + * 发送自车和ADAS数据 + * @param cloudLocationInfo 自车定位信息 + */ public void sendMsg(List cloudLocationInfo) { if (cloudLocationInfo == null) { Log.e(TAG, "请检查传入数组对象为Null"); @@ -158,6 +162,7 @@ public class SocketHandler { Log.d(TAG, "no information to sent"); return; } + WebSocketData webSocketData = new WebSocketData(); webSocketData.setMsgType(MSG_TYPE_UPLINK_CAR_DATA.getMsgType()); webSocketData.setSeq(computeSendMsgTime()); @@ -173,15 +178,22 @@ public class SocketHandler { msgBody.msgType(msgType); msgBody.content(msg); SocketManager.getInstance().sendMsg(msgBody, msgId -> { - + for (IMogoCloudOnMsgListener listener : onMsgListenerList) { + if (listener != null) { + listener.onMsgSend(msgId); + } + } }); } public void stop() { SocketManager.getInstance().unregisterOnMessageListener(0x040002, onMessageListener); SocketManager.getInstance().unregisterOnMessageListener(0x040003, onMessageListener); + SocketManager.getInstance().release(); onMsgListenerList.clear(); onAckListenerList.clear(); + mLastInfo = null; + mInstance = null; } /** diff --git a/modules/mogo-realtime/src/main/java/com/mogo/realtime/spi/RealTimeProviderImp.java b/modules/mogo-realtime/src/main/java/com/mogo/realtime/spi/RealTimeProviderImp.java index 355528f..878cd79 100644 --- a/modules/mogo-realtime/src/main/java/com/mogo/realtime/spi/RealTimeProviderImp.java +++ b/modules/mogo-realtime/src/main/java/com/mogo/realtime/spi/RealTimeProviderImp.java @@ -26,7 +26,7 @@ public class RealTimeProviderImp implements RealTimeProvider { } public RealTimeProviderImp() { - mDelegate = (RealTimeProvider) RealTimeProviderDelegateManager.getInstance(); + mDelegate = RealTimeProviderDelegateManager.getInstance().getRealTimeProvider(); } @Override diff --git a/modules/mogo-tanlu/build.gradle b/modules/mogo-tanlu/build.gradle index 638e2b1..f411e5d 100644 --- a/modules/mogo-tanlu/build.gradle +++ b/modules/mogo-tanlu/build.gradle @@ -11,7 +11,6 @@ android { versionCode 1 versionName "${MOGO_TANLU_VERSION}" - testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles "consumer-rules.pro" } @@ -31,8 +30,6 @@ dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation rootProject.ext.dependencies.androidxccorektx - implementation rootProject.ext.dependencies.androidxappcompat - implementation rootProject.ext.dependencies.androidxconstraintlayout implementation rootProject.ext.dependencies.rxjava implementation rootProject.ext.dependencies.rxandroid diff --git a/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/CosUpload.java b/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/CosUpload.java index 93c1ab1..2bbec9f 100644 --- a/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/CosUpload.java +++ b/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/CosUpload.java @@ -1,6 +1,7 @@ package com.mogo.cloud.tanlu; import android.content.Context; +import android.text.TextUtils; import android.util.Log; import com.google.gson.JsonArray; @@ -10,11 +11,18 @@ import com.mogo.cloud.tanlu.api.ITanluUploadCallback; import com.mogo.cloud.tanlu.bean.InformationBody; import com.mogo.cloud.tanlu.bean.UploadInfo; import com.mogo.cloud.tanlu.bean.UploadResult; +import com.mogo.cloud.tanlu.constant.HttpConstant; import com.zhidao.cosupload.DbPriorityConfig; import com.zhidao.cosupload.callback.CosStatusCallback; import com.zhidao.cosupload.callback.CosStatusCallbackManager; import com.zhidao.cosupload.manager.CosUploadManagerImpl; +import java.util.ArrayList; +import java.util.List; + +import static com.mogo.cloud.tanlu.utils.FileUtilKt.deletePicFile; +import static com.mogo.cloud.tanlu.utils.FileUtilKt.getVideoPicPath; +import static com.mogo.cloud.tanlu.utils.FileUtilKt.getVideoThumbnail; import static com.mogo.cloud.tanlu.utils.TanluUtils.isVideo; /** @@ -23,7 +31,6 @@ import static com.mogo.cloud.tanlu.utils.TanluUtils.isVideo; * @since 2021/1/21 */ public class CosUpload implements CosStatusCallback { - private static final String TAG = "liyz"; private static CosUpload sInstance; private Context mContext; private String mPicEventId; @@ -31,7 +38,8 @@ public class CosUpload implements CosStatusCallback { private UploadInfo mUploadInfo; private String mCosVideoUrl; private String mCosPicUrl; - + private List filePath = new ArrayList<>(); + private String videoCoverImage; private CosUpload(Context context) { mContext = context; @@ -55,54 +63,60 @@ public class CosUpload implements CosStatusCallback { } public void uploadInfo(UploadInfo info, ITanluUploadCallback callback) { - Log.d(TAG, "info.getFilePath() = " + info.getFilePath().toString()); - CosUploadManagerImpl.getInstance(mContext.getApplicationContext()) - .upload(info.getFilePath(), mPicEventId, DbPriorityConfig.PRIORITY_HIGH); mCallback = callback; mUploadInfo = info; + Log.d(HttpConstant.TANLU, "videoPath = " + info.getFilePath()); + if (!TextUtils.isEmpty(info.getFilePath())) { //不传路径 + if (isVideo(info.getFilePath())) { + videoCoverImage = getVideoPicPath(); + Log.d(HttpConstant.TANLU, "videoCoverImage = " + videoCoverImage); + boolean isSuccess = getVideoThumbnail(info.getFilePath(), videoCoverImage); + Log.d(HttpConstant.TANLU, "isSuccess = " + isSuccess); + filePath.add(info.getFilePath()); + filePath.add(videoCoverImage); + } else { + videoCoverImage = null; + filePath.add(info.getFilePath()); + } + + Log.e(HttpConstant.TANLU, "filePath.size() = " + filePath.size()); + CosUploadManagerImpl.getInstance(mContext.getApplicationContext()) + .upload(filePath, mPicEventId, DbPriorityConfig.PRIORITY_HIGH); + } else { + //直接上报 + sendInformation(); + } } @Override public void onStartUpload(String eventId, String localPath) { - Log.d(TAG, "onStartUpload ----> "); + Log.d(HttpConstant.TANLU, "onStartUpload ----> "); } @Override public void uploadCosCompleted(String cosPath, String eventId, String downloadUrl, String localPath) { - Log.d(TAG, "uploadCosCompleted ----> cosPath =" + cosPath + "--eventId =" + eventId); - Log.d(TAG, "uploadCosCompleted ----> downloadUrl =" + downloadUrl + "--localPath =" + localPath); -// if (localPath.endsWith("mp4")) { //如何判断视频图片 -// //如果是视频文件或者缩略图文件 -// if (localPath.endsWith("mp4")) { -// mCosVideoUrl = downloadUrl; -// } else { -// mCosPicUrl = downloadUrl; -// } -// -// if (mCosVideoUrl != null && mCosPicUrl != null) { -// //上传录像以及缩略图成功 -// sendInformation(); -// } -// } else { -// //上传图片成功, 如果是上报路况,直接上传 -// Log.d(TAG, "uploadCosCompleted 分享成功 ---- mType = $mType"); -// } - - if (isVideo(localPath)) { //如果是视频 TODO + Log.d(HttpConstant.TANLU, "uploadCosCompleted ----> cosPath =" + cosPath + "--eventId =" + eventId); + Log.d(HttpConstant.TANLU, "uploadCosCompleted ----> downloadUrl =" + downloadUrl + "--localPath =" + localPath); + if (filePath.size() == 2) { + if (isVideo(localPath)) { //如果是视频 localPath + mCosVideoUrl = downloadUrl; + } else { + mCosPicUrl = downloadUrl; + } + Log.d(HttpConstant.TANLU, "mCosVideoUrl = " + mCosVideoUrl + " >>>mCosPicUrl = " + mCosPicUrl); + if (mCosPicUrl != null && mCosVideoUrl != null) { + sendInformation(); + } } else { + mCosPicUrl = downloadUrl; sendInformation(); } - - //TODO - mCosVideoUrl = downloadUrl; - - } @Override public void uploadCosFailed(String cosPath, String eventId, String localPath) { - Log.e(TAG, "uploadCosFailed ----> cosPath = " + cosPath + "--eventId =" + eventId + "--localPath =" + localPath); + Log.e(HttpConstant.TANLU, "uploadCosFailed ----> cosPath = " + cosPath + "--eventId =" + eventId + "--localPath =" + localPath); sendInformation(); } @@ -112,22 +126,34 @@ public class CosUpload implements CosStatusCallback { } private void sendInformation() { + //清理数据 + if (filePath != null) { + filePath.clear(); + } + + //删除本地生成的图片封面 + if (videoCoverImage != null) { + deletePicFile(videoCoverImage); + } + UploadManager.getInstance(mContext.getApplicationContext()).loadUpload(getInformation(), new ITanluUploadCallback() { @Override public void onSuccess(BaseData result) { - Log.d(TAG, "uploadRoadInfo result.id = " + result.getResult().id); + if (result != null && result.getResult() != null) { + Log.d(HttpConstant.TANLU, "uploadRoadInfo result.id = " + result.getResult().id); + } mCallback.onSuccess(result); } @Override public void onFailure(int code) { - Log.d(TAG, " uploadRoadInfo code = " + code); + Log.d(HttpConstant.TANLU, " uploadRoadInfo code = " + code); mCallback.onFailure(code); } @Override public void onError(Throwable e) { - Log.d(TAG, "uploadRoadInfo onError e = " + e); + Log.d(HttpConstant.TANLU, "uploadRoadInfo onError e = " + e); mCallback.onError(e); } }); @@ -137,11 +163,10 @@ public class CosUpload implements CosStatusCallback { InformationBody informationBody = new InformationBody(); JsonArray jsonArray = new JsonArray(); JsonObject jsonObject = new JsonObject(); - jsonObject.addProperty("thumbnail", mCosVideoUrl); - jsonObject.addProperty("url", mCosPicUrl); + jsonObject.addProperty("thumbnail", mCosPicUrl); + jsonObject.addProperty("url", mCosVideoUrl); jsonArray.add(jsonObject); - Log.d(TAG, "mCosVideoUrl = " + mCosVideoUrl + "--mCosPicUrl =" + mCosPicUrl); - Log.d(TAG, "jsonArray.toString() = " + jsonArray.toString()); + Log.d(HttpConstant.TANLU, "jsonArray.toString() = " + jsonArray.toString()); informationBody.setData(jsonArray.toString()); informationBody.setAddr(mUploadInfo.getAddr()); diff --git a/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/MogoRoadSearchManager.java b/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/MogoRoadSearchManager.java index 6b7e234..11d25e2 100644 --- a/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/MogoRoadSearchManager.java +++ b/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/MogoRoadSearchManager.java @@ -3,21 +3,16 @@ package com.mogo.cloud.tanlu; import android.content.Context; import android.util.Log; -import com.google.gson.Gson; import com.mogo.cloud.commons.network.BaseData; import com.mogo.cloud.commons.network.RetrofitFactory; import com.mogo.cloud.passport.MoGoAiCloudClient; import com.mogo.cloud.tanlu.api.IRoadInfoSearchCallback; -import com.mogo.cloud.tanlu.api.ITanluUploadCallback; -import com.mogo.cloud.tanlu.bean.InformationBody; import com.mogo.cloud.tanlu.bean.RoadInfoRequest; import com.mogo.cloud.tanlu.bean.RoadInfos; -import com.mogo.cloud.tanlu.bean.UploadResult; -import com.mogo.cloud.tanlu.bean.location.Location; +import com.mogo.cloud.tanlu.constant.HttpConstant; import com.mogo.cloud.tanlu.net.TanluApiService; import com.mogo.utils.network.utils.GsonUtil; -import java.util.ArrayList; import java.util.HashMap; import java.util.Map; @@ -33,7 +28,6 @@ import io.reactivex.schedulers.Schedulers; * @since 2021/1/21 */ public class MogoRoadSearchManager { - private static final String TAG = "MogoRoadSearchManager"; private static MogoRoadSearchManager sInstance; private Context mContext; private TanluApiService apiService; @@ -53,8 +47,8 @@ public class MogoRoadSearchManager { return sInstance; } - public void init () { //TODO - apiService = RetrofitFactory.INSTANCE.getInstance("http://dzt-test.zhidaozhixing.com") + public void init () { + apiService = RetrofitFactory.INSTANCE.getInstance(HttpConstant.DEV_HOTS) .create(TanluApiService.class); } @@ -88,24 +82,24 @@ public class MogoRoadSearchManager { .subscribe(new Observer>() { @Override public void onSubscribe(@NonNull Disposable d) { - Log.d(TAG, "queryRoadInfos onSubscribe "); + Log.d(HttpConstant.TANLU, "queryRoadInfos onSubscribe "); } @Override public void onNext(@NonNull BaseData roadInfos) { - Log.d(TAG, "queryRoadInfos onNext roadInfos = " + roadInfos.getResult().getData()); + Log.d(HttpConstant.TANLU, "queryRoadInfos onNext roadInfos = " + roadInfos.getResult().getData()); callback.onSuccess(roadInfos); } @Override public void onError(@NonNull Throwable e) { - Log.d(TAG, "queryRoadInfos onError "); + Log.d(HttpConstant.TANLU, "queryRoadInfos onError "); callback.onError(e); } @Override public void onComplete() { - Log.d(TAG, "queryRoadInfos onComplete "); + Log.d(HttpConstant.TANLU, "queryRoadInfos onComplete "); } }); } diff --git a/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/MogoUploadManager.java b/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/MogoUploadManager.java index 3be608d..c01a438 100644 --- a/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/MogoUploadManager.java +++ b/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/MogoUploadManager.java @@ -1,36 +1,9 @@ package com.mogo.cloud.tanlu; import android.content.Context; -import android.util.Log; -import com.google.gson.Gson; -import com.google.gson.JsonArray; -import com.google.gson.JsonObject; -import com.mogo.cloud.commons.network.RetrofitFactory; -import com.mogo.cloud.passport.MoGoAiCloudClient; -import com.mogo.cloud.tanlu.api.IRoadInfoSearchCallback; import com.mogo.cloud.tanlu.api.ITanluUploadCallback; -import com.mogo.cloud.tanlu.bean.InformationBody; -import com.mogo.cloud.tanlu.bean.RoadInfoRequest; -import com.mogo.cloud.tanlu.bean.RoadInfos; import com.mogo.cloud.tanlu.bean.UploadInfo; -import com.mogo.cloud.tanlu.bean.UploadResult; -import com.mogo.cloud.tanlu.bean.location.Location; -import com.mogo.cloud.tanlu.net.TanluApiService; -import com.mogo.utils.network.utils.GsonUtil; -import com.zhidao.cosupload.DbPriorityConfig; -import com.zhidao.cosupload.callback.CosStatusCallback; -import com.zhidao.cosupload.manager.CosUploadManagerImpl; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.Map; - -import io.reactivex.Observer; -import io.reactivex.android.schedulers.AndroidSchedulers; -import io.reactivex.annotations.NonNull; -import io.reactivex.disposables.Disposable; -import io.reactivex.schedulers.Schedulers; /** * @author lixiaopeng @@ -38,7 +11,6 @@ import io.reactivex.schedulers.Schedulers; * @since 2021/1/21 */ public class MogoUploadManager { - private static final String TAG = "liyz"; private static MogoUploadManager sInstance; private Context mContext; @@ -53,7 +25,6 @@ public class MogoUploadManager { sInstance = new MogoUploadManager(context); } } - return sInstance; } diff --git a/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/UploadManager.java b/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/UploadManager.java index 8c91e88..9efc316 100644 --- a/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/UploadManager.java +++ b/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/UploadManager.java @@ -7,30 +7,17 @@ import com.google.gson.Gson; import com.mogo.cloud.commons.network.BaseData; import com.mogo.cloud.commons.network.RetrofitFactory; import com.mogo.cloud.passport.MoGoAiCloudClient; -import com.mogo.cloud.tanlu.api.IRoadInfoSearchCallback; import com.mogo.cloud.tanlu.api.ITanluUploadCallback; import com.mogo.cloud.tanlu.bean.InformationBody; -import com.mogo.cloud.tanlu.bean.RoadInfoRequest; -import com.mogo.cloud.tanlu.bean.RoadInfos; import com.mogo.cloud.tanlu.bean.UploadResult; -import com.mogo.cloud.tanlu.bean.location.Location; -import com.mogo.cloud.tanlu.bean.location.MogoLocation; +import com.mogo.cloud.tanlu.constant.HttpConstant; import com.mogo.cloud.tanlu.net.TanluApiService; -import com.mogo.utils.logger.Logger; -import com.mogo.utils.network.RequestOptions; -import com.mogo.utils.network.utils.GsonUtil; -import java.util.ArrayList; import java.util.HashMap; import java.util.Map; -import io.reactivex.Observable; -import io.reactivex.ObservableEmitter; -import io.reactivex.ObservableOnSubscribe; import io.reactivex.Observer; import io.reactivex.android.schedulers.AndroidSchedulers; -import io.reactivex.annotations.NonNull; import io.reactivex.disposables.Disposable; -import io.reactivex.functions.Function; import io.reactivex.schedulers.Schedulers; /** @@ -39,7 +26,6 @@ import io.reactivex.schedulers.Schedulers; * @since 2021/1/21 */ public class UploadManager { - private static final String TAG = "UploadManager"; private static UploadManager sInstance; private Context mContext; private TanluApiService apiService; @@ -59,8 +45,8 @@ public class UploadManager { return sInstance; } - public void init () { //TODO - apiService = RetrofitFactory.INSTANCE.getInstance("http://dzt-test.zhidaozhixing.com") + public void init () { + apiService = RetrofitFactory.INSTANCE.getInstance(HttpConstant.DEV_HOTS) .create(TanluApiService.class); } @@ -74,38 +60,35 @@ public class UploadManager { public void loadUpload(InformationBody informationBody, ITanluUploadCallback callback) { Gson gson = new Gson(); Map map = new HashMap<>(); -// map.put("sn", MoGoAiCloudClient.getInstance().getAiCloudClientConfig().getSn()); //TODO + map.put("sn", MoGoAiCloudClient.getInstance().getAiCloudClientConfig().getSn()); + map.put("data", gson.toJson(informationBody)); + Log.d(HttpConstant.TANLU, "info = " + gson.toJson(informationBody)); // map.put("sn", "F803EB2046PZD00228"); -// map.put("data", gson.toJson(informationBody)); -// Log.d(TAG, "info = " + gson.toJson(informationBody)); - map.put("sn", "ZD802C1938L10797"); - map.put("data", "{\"addr\":\"北京市东城区小黄庄北街2号靠近中国银行(北京安贞桥支行)\",\"areaCode\":\"110101\",\"areaName\":\"东城区\",\"cityCode\":\"010\",\"cityName\":\"北京市\",\"data\":\"[{\\\"thumbnail\\\":\\\"http://petchfile-1255510688.cos.ap-beijing.myqcloud.com/CarPad/com.zhidao.roadcondition/F803EB2046PZD00228/F803EB2046PZD00228_20210121165329/Thumbnail1611219200669.jpg\\\",\\\"url\\\":\\\"http://petchfile-1255510688.cos.ap-beijing.myqcloud.com/CarPad/com.zhidao.roadcondition/F803EB2046PZD00228/F803EB2046PZD00228_20210121165329/compress_video_20210121165307.mp4\\\"}]\",\"direction\":0.0,\"fromType\":\"2\",\"generateTime\":1611219213616,\"infoTimeout\":240,\"infoType\":1,\"isShare\":false,\"lat\":39.968317,\"lon\":116.410892,\"mainInfoId\":0,\"poiType\":\"10008\",\"provinceName\":\"北京市\",\"sn\":\"F803EB2046PZD00228\",\"speed\":0.0,\"street\":\"小黄庄北街\",\"trafficInfoType\":\"\",\"type\":1,\"uid\":0}"); +// map.put("data", "{\"addr\":\"北京市东城区小黄庄北街2号靠近中国银行(北京安贞桥支行)\",\"areaCode\":\"110101\",\"areaName\":\"东城区\",\"cityCode\":\"010\",\"cityName\":\"北京市\",\"data\":\"[{\\\"thumbnail\\\":\\\"http://petchfile-1255510688.cos.ap-beijing.myqcloud.com/CarPad/com.zhidao.roadcondition/F803EB2046PZD00228/F803EB2046PZD00228_20210121165329/Thumbnail1611219200669.jpg\\\",\\\"url\\\":\\\"http://petchfile-1255510688.cos.ap-beijing.myqcloud.com/CarPad/com.zhidao.roadcondition/F803EB2046PZD00228/F803EB2046PZD00228_20210121165329/compress_video_20210121165307.mp4\\\"}]\",\"direction\":0.0,\"fromType\":\"2\",\"generateTime\":1611219213616,\"infoTimeout\":240,\"infoType\":1,\"isShare\":false,\"lat\":39.968317,\"lon\":116.410892,\"mainInfoId\":0,\"poiType\":\"10008\",\"provinceName\":\"北京市\",\"sn\":\"F803EB2046PZD00228\",\"speed\":0.0,\"street\":\"小黄庄北街\",\"trafficInfoType\":\"\",\"type\":1,\"uid\":0}"); - Log.d(TAG, "sn = " + MoGoAiCloudClient.getInstance().getAiCloudClientConfig().getSn()); + Log.d(HttpConstant.TANLU, "sn = " + MoGoAiCloudClient.getInstance().getAiCloudClientConfig().getSn()); apiService.uploadInformation(map) .subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) .subscribe(new Observer>() { @Override public void onSubscribe(Disposable d) { - Log.d(TAG, "onSubscribe -----> "); } @Override public void onNext(BaseData result) { - Log.d(TAG, "onNext id = -----> " + result.getResult().id); + Log.d(HttpConstant.TANLU, "onNext -----> "); callback.onSuccess(result); } @Override public void onError(Throwable e) { - Log.e(TAG, "onError -----> e " + e); + Log.e(HttpConstant.TANLU, "onError -----> e " + e); callback.onError(e); } @Override public void onComplete() { - Log.d(TAG, "onComplete -----> "); } }); } diff --git a/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/bean/UploadInfo.java b/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/bean/UploadInfo.java index 2de9f00..d405b59 100644 --- a/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/bean/UploadInfo.java +++ b/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/bean/UploadInfo.java @@ -1,6 +1,5 @@ package com.mogo.cloud.tanlu.bean; -import java.util.List; /** * @author lixiaopeng @@ -9,7 +8,8 @@ import java.util.List; */ public class UploadInfo { - private List filePath; //文件路径 +// private List filePath; //文件路径 + private String filePath; //文件路径 // String TYPE_TRAFFIC_CHECK = "10002"; //交通检查 // String TYPE_CLOSURE = "10003"; //封路 @@ -50,16 +50,22 @@ public class UploadInfo { private int infoTimeout; //过期事件 private boolean isShare; // 是否分享给附近车机 - - - public List getFilePath() { + public String getFilePath() { return filePath; } - public void setFilePath(List filePath) { + public void setFilePath(String filePath) { this.filePath = filePath; } + // public List getFilePath() { +// return filePath; +// } +// +// public void setFilePath(List filePath) { +// this.filePath = filePath; +// } + public String getPoiType() { return poiType; } @@ -231,7 +237,7 @@ public class UploadInfo { @Override public String toString() { return "UploadInfo{" + - "filePath=" + filePath + + "filePath='" + filePath + '\'' + ", poiType='" + poiType + '\'' + ", fromType='" + fromType + '\'' + ", mainInfoId=" + mainInfoId + diff --git a/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/constant/HttpConstant.java b/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/constant/HttpConstant.java index e7b8a34..d31a821 100644 --- a/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/constant/HttpConstant.java +++ b/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/constant/HttpConstant.java @@ -10,4 +10,11 @@ public class HttpConstant { public static final String DZT_HOTS = "http://dzt-deva.zhidaozhixing.com"; public static final String LAUNCHER_HOTS = "http://dzt-launcherSnapshot.zhidaozhixing.com"; + public static final String DEV_HOTS = "http://dzt-test.zhidaozhixing.com"; + public static final String RELEASE_HOTS = "http://dzt.zhidaozhixing.com"; + + public static final String TANLU = "TANLU_MODULE"; + + + } diff --git a/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/utils/FileUtil.kt b/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/utils/FileUtil.kt new file mode 100644 index 0000000..bf862cb --- /dev/null +++ b/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/utils/FileUtil.kt @@ -0,0 +1,149 @@ +package com.mogo.cloud.tanlu.utils + +import android.graphics.Bitmap +import android.media.MediaMetadataRetriever +import android.os.Environment +import android.util.Log +import java.io.* +import java.text.SimpleDateFormat +import java.util.* + +/** + * @author lixiaopeng + * @description 文件处理类 + * @since 2021/1/26 + */ +fun deletePicFile(filePath: String?): Boolean { + var file = File(filePath) + if (file.exists()) { + //如果图片地址包含此路径则是C上面的拍照,需要再删除后摄图片 + if (filePath!!.contains("usbotg-1-1.1")) { + //将地址替换成后摄图片地址 + var backFile = + File(filePath.replace("frontPic", "backPic").replace("PhotoFront", "PhotoBack")) + if (backFile.exists()) { + return backFile.delete() + } + return file.delete() + } else + return file.delete() + } + return false +} + +//删除某个目录下所有文件 +fun deleteAllFile(file: File?) { //判断文件不为null或文件目录存在 + if (file == null || !file.exists()) { + Log.e("liyz", "文件删除失败,请检查文件路径是否正确") + return + } + //取得这个目录下的所有子文件对象 + val files: Array = file.listFiles() + //遍历该目录下的文件对象 + for (f in files) { + //判断子目录是否存在子目录,如果是文件则删除 + if (f.isDirectory) { + deleteAllFile(f) + } else { + f.delete() + } + } + //删除空文件夹 for循环已经把上一层节点的目录清空。 +// file.delete() +} + + +//根据本地视频文件生成缩略图文件 +fun getVideoThumbnail(filePath: String, picPath: String): Boolean { + var b: Bitmap? = null + var retriever = MediaMetadataRetriever() + try { + retriever.setDataSource(filePath) + b = retriever.getFrameAtTime(0) + } catch (e: IllegalArgumentException) { + e.printStackTrace() + } catch (e: RuntimeException) { + e.printStackTrace() + } finally { + try { + retriever.release() + } catch (e: RuntimeException) { + e.printStackTrace() + } + } + return bitmapToFile(b, picPath) +} + +//bitmap转为file +fun bitmapToFile(bitmap: Bitmap?, filePath: String): Boolean { + val baos = ByteArrayOutputStream() + bitmap?.compress(Bitmap.CompressFormat.JPEG, 50, baos) + val file = File(filePath) + try { + if (file.exists()) + file.delete() + file.createNewFile() + val fos = FileOutputStream(file) + var ins = ByteArrayInputStream(baos.toByteArray()) + var x = 0 + val b = ByteArray(1024 * 100) + while ({ x = ins.read(b);x }() != -1) { + fos.write(b, 0, x) + } + fos.close() + bitmap?.recycle() + } catch (e: Exception) { + e.printStackTrace() + return false + } + + return true +} + + +fun getVideoPicPath(): String { + val moviesDir = Environment.getExternalStoragePublicDirectory( + Environment.DIRECTORY_PICTURES + ) + moviesDir.mkdirs() + + val builder = StringBuilder() + builder.append("pic_") + .append(SimpleDateFormat("yyyyMMddHHmmss").format(Date())) + val filePrefix = builder.toString() + val fileExtn = ".jpg" + var destPath = File(moviesDir, filePrefix + fileExtn) + + var fileNo = 0 + while (destPath.exists()) { + fileNo++ + destPath = File(moviesDir, filePrefix + fileNo + fileExtn) + } + + return destPath.absolutePath +} + + +//获取压缩后的视频路径 /storage/emulated/0/Movies/compress_video_20210126174432.mp4 +fun getCompressVideoPath(): String { + val moviesDir = Environment.getExternalStoragePublicDirectory( + Environment.DIRECTORY_MOVIES + ) + moviesDir.mkdirs() + + val builder = StringBuilder() + builder.append("compress_video_") + .append(SimpleDateFormat("yyyyMMddHHmmss").format(Date())) + val filePrefix = builder.toString() + val fileExtn = ".mp4" + var destPath = File(moviesDir, filePrefix + fileExtn) + + var fileNo = 0 + while (destPath.exists()) { + fileNo++ + destPath = File(moviesDir, filePrefix + fileNo + fileExtn) + } + + return destPath.absolutePath +} + diff --git a/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/utils/TanluUtils.java b/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/utils/TanluUtils.java index 9d95a96..f511b50 100644 --- a/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/utils/TanluUtils.java +++ b/modules/mogo-tanlu/src/main/java/com/mogo/cloud/tanlu/utils/TanluUtils.java @@ -16,4 +16,5 @@ public class TanluUtils { return p.matcher(path).find(); } + }