Merge remote-tracking branch 'origin/live_sdk' into live_sdk
This commit is contained in:
1
.idea/gradle.xml
generated
1
.idea/gradle.xml
generated
@@ -22,6 +22,7 @@
|
||||
<option value="$PROJECT_DIR$/modules" />
|
||||
<option value="$PROJECT_DIR$/modules/mogo-realtime" />
|
||||
<option value="$PROJECT_DIR$/modules/mogo-tanlu" />
|
||||
<option value="$PROJECT_DIR$/modules/mogo-trafficlive" />
|
||||
</set>
|
||||
</option>
|
||||
<option name="resolveModulePerSourceSet" value="false" />
|
||||
|
||||
@@ -93,7 +93,7 @@ var activeTableTab = "activeTableTab";
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">com.mogo.realtime.Interface</div>
|
||||
<div class="subTitle">com.mogo.realtime.api</div>
|
||||
<h2 title="类 MoGoAiCloudRealTime" class="title">类 MoGoAiCloudRealTime</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
@@ -101,7 +101,7 @@ var activeTableTab = "activeTableTab";
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>com.mogo.realtime.Interface.MoGoAiCloudRealTime</li>
|
||||
<li>com.mogo.realtime.api.MoGoAiCloudRealTime</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -93,7 +93,7 @@ var activeTableTab = "activeTableTab";
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">com.mogo.realtime.Interface</div>
|
||||
<div class="subTitle">com.mogo.realtime.api</div>
|
||||
<h2 title="接口 RealTimeProvider" class="title">接口 RealTimeProvider</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_242-release) on Wed Jan 27 14:18:36 CST 2021 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>类 com.mogo.realtime.Interface.MoGoAiCloudRealTime的使用 (蘑菇AI云平台Doc)</title>
|
||||
<title>类 com.mogo.realtime.api.MoGoAiCloudRealTime的使用 (蘑菇AI云平台Doc)</title>
|
||||
<meta name="date" content="2021-01-27">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
@@ -13,7 +13,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u7C7B com.mogo.realtime.Interface.MoGoAiCloudRealTime\u7684\u4F7F\u7528 (\u8611\u83C7AI\u4E91\u5E73\u53F0Doc)";
|
||||
parent.document.title="\u7C7B com.mogo.realtime.api.MoGoAiCloudRealTime\u7684\u4F7F\u7528 (\u8611\u83C7AI\u4E91\u5E73\u53F0Doc)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
@@ -71,7 +71,7 @@
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="类的使用 com.mogo.realtime.Interface.MoGoAiCloudRealTime" class="title">类的使用<br>com.mogo.realtime.Interface.MoGoAiCloudRealTime</h2>
|
||||
<h2 title="类的使用 com.mogo.realtime.api.MoGoAiCloudRealTime" class="title">类的使用<br>com.mogo.realtime.Interface.MoGoAiCloudRealTime</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">没有com.mogo.realtime.Interface.MoGoAiCloudRealTime的用法</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_242-release) on Wed Jan 27 14:18:36 CST 2021 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>接口 com.mogo.realtime.Interface.RealTimeProvider的使用 (蘑菇AI云平台Doc)</title>
|
||||
<title>接口 com.mogo.realtime.api.RealTimeProvider的使用 (蘑菇AI云平台Doc)</title>
|
||||
<meta name="date" content="2021-01-27">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
@@ -13,7 +13,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u63A5\u53E3 com.mogo.realtime.Interface.IRealTimeProvider\u7684\u4F7F\u7528 (\u8611\u83C7AI\u4E91\u5E73\u53F0Doc)";
|
||||
parent.document.title="\u63A5\u53E3 com.mogo.realtime.api.IRealTimeProvider\u7684\u4F7F\u7528 (\u8611\u83C7AI\u4E91\u5E73\u53F0Doc)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
@@ -71,7 +71,7 @@
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="接口的使用 com.mogo.realtime.Interface.IRealTimeProvider" class="title">接口的使用<br>com.mogo.realtime.Interface.IRealTimeProvider</h2>
|
||||
<h2 title="接口的使用 com.mogo.realtime.api.IRealTimeProvider" class="title">接口的使用<br>com.mogo.realtime.Interface.IRealTimeProvider</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_242-release) on Wed Jan 27 14:18:35 CST 2021 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>com.mogo.realtime.Interface (蘑菇AI云平台Doc)</title>
|
||||
<title>com.mogo.realtime.api (蘑菇AI云平台Doc)</title>
|
||||
<meta name="date" content="2021-01-27">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar"><a href="../../../../com/mogo/realtime/Interface/package-summary.html" target="classFrame">com.mogo.realtime.Interface</a></h1>
|
||||
<h1 class="bar"><a href="../../../../com/mogo/realtime/Interface/package-summary.html" target="classFrame">com.mogo.realtime.api</a></h1>
|
||||
<div class="indexContainer">
|
||||
<h2 title="接口">接口</h2>
|
||||
<ul title="接口">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_242-release) on Wed Jan 27 14:18:35 CST 2021 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>com.mogo.realtime.Interface (蘑菇AI云平台Doc)</title>
|
||||
<title>com.mogo.realtime.api (蘑菇AI云平台Doc)</title>
|
||||
<meta name="date" content="2021-01-27">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
@@ -13,7 +13,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="com.mogo.realtime.Interface (\u8611\u83C7AI\u4E91\u5E73\u53F0Doc)";
|
||||
parent.document.title="com.mogo.realtime.api (\u8611\u83C7AI\u4E91\u5E73\u53F0Doc)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
@@ -71,7 +71,7 @@
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="程序包" class="title">程序包 com.mogo.realtime.Interface</h1>
|
||||
<h1 title="程序包" class="title">程序包 com.mogo.realtime.api</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_242-release) on Wed Jan 27 14:18:35 CST 2021 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>com.mogo.realtime.Interface 类分层结构 (蘑菇AI云平台Doc)</title>
|
||||
<title>com.mogo.realtime.api 类分层结构 (蘑菇AI云平台Doc)</title>
|
||||
<meta name="date" content="2021-01-27">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
@@ -13,7 +13,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="com.mogo.realtime.Interface \u7C7B\u5206\u5C42\u7ED3\u6784 (\u8611\u83C7AI\u4E91\u5E73\u53F0Doc)";
|
||||
parent.document.title="com.mogo.realtime.api \u7C7B\u5206\u5C42\u7ED3\u6784 (\u8611\u83C7AI\u4E91\u5E73\u53F0Doc)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -71,13 +71,13 @@
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="程序包的使用 com.mogo.realtime.Interface" class="title">程序包的使用<br>com.mogo.realtime.Interface</h1>
|
||||
<h1 title="程序包的使用 com.mogo.realtime.api" class="title">程序包的使用<br>com.mogo.realtime.Interface</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表程序包和解释">
|
||||
<caption><span>使用<a href="../../../../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.Interface</a>的程序包</span><span class="tabEnd"> </span></caption>
|
||||
<caption><span>使用<a href="../../../../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.api</a>的程序包</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">程序包</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
@@ -94,7 +94,7 @@
|
||||
<!-- -->
|
||||
</a>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表类和解释">
|
||||
<caption><span><a href="../../../../com/mogo/realtime/spi/package-summary.html">com.mogo.realtime.spi</a>使用的<a href="../../../../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.Interface</a>中的类</span><span class="tabEnd"> </span></caption>
|
||||
<caption><span><a href="../../../../com/mogo/realtime/spi/package-summary.html">com.mogo.realtime.spi</a>使用的<a href="../../../../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.api</a>中的类</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">类和说明</th>
|
||||
</tr>
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="#com.mogo.realtime.Interface">com.mogo.realtime.Interface</a></td>
|
||||
<td class="colFirst"><a href="#com.mogo.realtime.api">com.mogo.realtime.api</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
@@ -120,12 +120,12 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList"><a name="com.mogo.realtime.Interface">
|
||||
<li class="blockList"><a name="com.mogo.realtime.api">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.Interface</a>中<a href="../../../../../com/mogo/realtime/entity/ADASRecognizedResult.html" title="com.mogo.realtime.entity中的类">ADASRecognizedResult</a>的使用</h3>
|
||||
<h3><a href="../../../../../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.api</a>中<a href="../../../../../com/mogo/realtime/entity/ADASRecognizedResult.html" title="com.mogo.realtime.entity中的类">ADASRecognizedResult</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>返回变量类型为<a href="../../../../../com/mogo/realtime/entity/ADASRecognizedResult.html" title="com.mogo.realtime.entity中的类">ADASRecognizedResult</a>的类型的<a href="../../../../../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.Interface</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<caption><span>返回变量类型为<a href="../../../../../com/mogo/realtime/entity/ADASRecognizedResult.html" title="com.mogo.realtime.entity中的类">ADASRecognizedResult</a>的类型的<a href="../../../../../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.api</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#com.mogo.realtime.Interface">com.mogo.realtime.Interface</a></td>
|
||||
<td class="colFirst"><a href="#com.mogo.realtime.api">com.mogo.realtime.api</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
@@ -260,12 +260,12 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList"><a name="com.mogo.realtime.Interface">
|
||||
<li class="blockList"><a name="com.mogo.realtime.api">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.Interface</a>中<a href="../../../../../com/mogo/realtime/entity/CloudLocationInfo.html" title="com.mogo.realtime.entity中的类">CloudLocationInfo</a>的使用</h3>
|
||||
<h3><a href="../../../../../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.api</a>中<a href="../../../../../com/mogo/realtime/entity/CloudLocationInfo.html" title="com.mogo.realtime.entity中的类">CloudLocationInfo</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>返回变量类型为<a href="../../../../../com/mogo/realtime/entity/CloudLocationInfo.html" title="com.mogo.realtime.entity中的类">CloudLocationInfo</a>的类型的<a href="../../../../../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.Interface</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<caption><span>返回变量类型为<a href="../../../../../com/mogo/realtime/entity/CloudLocationInfo.html" title="com.mogo.realtime.entity中的类">CloudLocationInfo</a>的类型的<a href="../../../../../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.api</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#com.mogo.realtime.Interface">com.mogo.realtime.Interface</a></td>
|
||||
<td class="colFirst"><a href="#com.mogo.realtime.api">com.mogo.realtime.api</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
@@ -114,11 +114,11 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList"><a name="com.mogo.realtime.Interface">
|
||||
<li class="blockList"><a name="com.mogo.realtime.api">
|
||||
<!-- -->
|
||||
</a>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表类和解释">
|
||||
<caption><span><a href="../../../../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.Interface</a>使用的<a href="../../../../com/mogo/realtime/entity/package-summary.html">com.mogo.realtime.entity</a>中的类</span><span class="tabEnd"> </span></caption>
|
||||
<caption><span><a href="../../../../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.api</a>使用的<a href="../../../../com/mogo/realtime/entity/package-summary.html">com.mogo.realtime.entity</a>中的类</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">类和说明</th>
|
||||
</tr>
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#com.mogo.realtime.Interface">com.mogo.realtime.Interface</a></td>
|
||||
<td class="colFirst"><a href="#com.mogo.realtime.api">com.mogo.realtime.api</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
@@ -96,12 +96,12 @@
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="com.mogo.realtime.Interface">
|
||||
<li class="blockList"><a name="com.mogo.realtime.api">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.Interface</a>中<a href="../../../../../com/mogo/realtime/socket/IMogoCloudOnMsgListener.html" title="com.mogo.realtime.socket中的接口">IMogoCloudOnMsgListener</a>的使用</h3>
|
||||
<h3><a href="../../../../../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.api</a>中<a href="../../../../../com/mogo/realtime/socket/IMogoCloudOnMsgListener.html" title="com.mogo.realtime.socket中的接口">IMogoCloudOnMsgListener</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>参数类型为<a href="../../../../../com/mogo/realtime/socket/IMogoCloudOnMsgListener.html" title="com.mogo.realtime.socket中的接口">IMogoCloudOnMsgListener</a>的<a href="../../../../../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.Interface</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<caption><span>参数类型为<a href="../../../../../com/mogo/realtime/socket/IMogoCloudOnMsgListener.html" title="com.mogo.realtime.socket中的接口">IMogoCloudOnMsgListener</a>的<a href="../../../../../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.api</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#com.mogo.realtime.Interface">com.mogo.realtime.Interface</a></td>
|
||||
<td class="colFirst"><a href="#com.mogo.realtime.api">com.mogo.realtime.api</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
@@ -94,11 +94,11 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList"><a name="com.mogo.realtime.Interface">
|
||||
<li class="blockList"><a name="com.mogo.realtime.api">
|
||||
<!-- -->
|
||||
</a>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表类和解释">
|
||||
<caption><span><a href="../../../../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.Interface</a>使用的<a href="../../../../com/mogo/realtime/socket/package-summary.html">com.mogo.realtime.socket</a>中的类</span><span class="tabEnd"> </span></caption>
|
||||
<caption><span><a href="../../../../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.api</a>使用的<a href="../../../../com/mogo/realtime/socket/package-summary.html">com.mogo.realtime.socket</a>中的类</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">类和说明</th>
|
||||
</tr>
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
</a>
|
||||
<h2 class="title">M</h2>
|
||||
<dl>
|
||||
<dt><a href="../com/mogo/realtime/Interface/MoGoAiCloudRealTime.html" title="com.mogo.realtime.Interface中的类"><span class="typeNameLink">MoGoAiCloudRealTime</span></a> - <a href="../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.Interface</a>中的类</dt>
|
||||
<dt><a href="../com/mogo/realtime/Interface/MoGoAiCloudRealTime.html" title="com.mogo.realtime.Interface中的类"><span class="typeNameLink">MoGoAiCloudRealTime</span></a> - <a href="../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.api</a>中的类</dt>
|
||||
<dd>
|
||||
<div class="block">RealTime实时上报数据服务SDK</div>
|
||||
</dd>
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
</a>
|
||||
<h2 class="title">R</h2>
|
||||
<dl>
|
||||
<dt><a href="../com/mogo/realtime/Interface/RealTimeProvider.html" title="com.mogo.realtime.Interface中的接口"><span class="typeNameLink">RealTimeProvider</span></a> - <a href="../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.Interface</a>中的接口</dt>
|
||||
<dt><a href="../com/mogo/realtime/Interface/RealTimeProvider.html" title="com.mogo.realtime.Interface中的接口"><span class="typeNameLink">RealTimeProvider</span></a> - <a href="../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.api</a>中的接口</dt>
|
||||
<dd>
|
||||
<div class="block">蘑菇AI云平台实时定位点上报服务接口</div>
|
||||
</dd>
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
<dd> </dd>
|
||||
<dt><a href="../com/mogo/realtime/entity/package-summary.html">com.mogo.realtime.entity</a> - 程序包 com.mogo.realtime.entity</dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.Interface</a> - 程序包 com.mogo.realtime.Interface</dt>
|
||||
<dt><a href="../com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.api</a> - 程序包 com.mogo.realtime.Interface</dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="../com/mogo/realtime/location/package-summary.html">com.mogo.realtime.location</a> - 程序包 com.mogo.realtime.location</dt>
|
||||
<dd> </dd>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<ul title="程序包">
|
||||
<li><a href="com/mogo/realtime/core/package-frame.html" target="packageFrame">com.mogo.realtime.core</a></li>
|
||||
<li><a href="com/mogo/realtime/entity/package-frame.html" target="packageFrame">com.mogo.realtime.entity</a></li>
|
||||
<li><a href="com/mogo/realtime/Interface/package-frame.html" target="packageFrame">com.mogo.realtime.Interface</a></li>
|
||||
<li><a href="com/mogo/realtime/Interface/package-frame.html" target="packageFrame">com.mogo.realtime.api</a></li>
|
||||
<li><a href="com/mogo/realtime/location/package-frame.html" target="packageFrame">com.mogo.realtime.location</a></li>
|
||||
<li><a href="com/mogo/realtime/socket/package-frame.html" target="packageFrame">com.mogo.realtime.socket</a></li>
|
||||
<li><a href="com/mogo/realtime/spi/package-frame.html" target="packageFrame">com.mogo.realtime.spi</a></li>
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.Interface</a></td>
|
||||
<td class="colFirst"><a href="com/mogo/realtime/Interface/package-summary.html">com.mogo.realtime.api</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
<ul class="horizontal">
|
||||
<li><a href="com/mogo/realtime/core/package-tree.html">com.mogo.realtime.core</a>, </li>
|
||||
<li><a href="com/mogo/realtime/entity/package-tree.html">com.mogo.realtime.entity</a>, </li>
|
||||
<li><a href="com/mogo/realtime/Interface/package-tree.html">com.mogo.realtime.Interface</a>, </li>
|
||||
<li><a href="com/mogo/realtime/Interface/package-tree.html">com.mogo.realtime.api</a>, </li>
|
||||
<li><a href="com/mogo/realtime/location/package-tree.html">com.mogo.realtime.location</a>, </li>
|
||||
<li><a href="com/mogo/realtime/socket/package-tree.html">com.mogo.realtime.socket</a>, </li>
|
||||
<li><a href="com/mogo/realtime/spi/package-tree.html">com.mogo.realtime.spi</a>, </li>
|
||||
|
||||
@@ -3,13 +3,12 @@ package com.mogo.cloud;
|
||||
import android.os.Bundle;
|
||||
import android.util.Log;
|
||||
import android.widget.Button;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import com.mogo.cloud.passport.MoGoAiCloudClient;
|
||||
import com.mogo.realtime.Interface.MoGoAiCloudRealTime;
|
||||
import com.mogo.realtime.api.MoGoAiCloudRealTime;
|
||||
import com.mogo.realtime.entity.MogoSnapshotSetData;
|
||||
import com.mogo.realtime.socket.IMogoCloudOnMsgListener;
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
package com.mogo.cloud;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.util.Log;
|
||||
import android.widget.Button;
|
||||
import android.widget.TextView;
|
||||
|
||||
@@ -10,10 +9,8 @@ import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.mogo.cloud.network.BaseData;
|
||||
import com.mogo.cloud.network.NetworkActivity;
|
||||
import com.mogo.cloud.passport.MoGoAiCloudClient;
|
||||
import com.mogo.cloud.tanlu.MogoRoadSearchManager;
|
||||
import com.mogo.cloud.tanlu.MogoUploadManager;
|
||||
import com.mogo.cloud.tanlu.api.MogoRoadSearchManager;
|
||||
import com.mogo.cloud.tanlu.api.MogoUploadManager;
|
||||
import com.mogo.cloud.tanlu.api.IRoadInfoSearchCallback;
|
||||
import com.mogo.cloud.tanlu.api.ITanluUploadCallback;
|
||||
import com.mogo.cloud.tanlu.bean.RoadInfoRequest;
|
||||
@@ -21,9 +18,6 @@ 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.realtime.Interface.MoGoAiCloudRealTime;
|
||||
import com.mogo.realtime.entity.MogoSnapshotSetData;
|
||||
import com.mogo.realtime.socket.IMogoCloudOnMsgListener;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.mogo.cloud;
|
||||
|
||||
import com.elegant.spi.annotations.Service;
|
||||
import com.mogo.realtime.Interface.IRealTimeProvider;
|
||||
import com.mogo.realtime.api.IRealTimeProvider;
|
||||
import com.mogo.realtime.entity.ADASRecognizedResult;
|
||||
import com.mogo.realtime.entity.CloudLocationInfo;
|
||||
|
||||
|
||||
@@ -32,3 +32,4 @@ MOGO_SOCKET_VERSION=1.0.8-SNAPSHOT
|
||||
MOGO_REALTIME_VERSION=1.0.8-SNAPSHOT
|
||||
MOGO_TANLU_VERSION=1.0.8-SNAPSHOT
|
||||
MOGO_LIVE_VERSION=1.0.8-SNAPSHOT
|
||||
MOGO_TRAFFICLIVE_VERSION=1.0.0-SNAPSHOT
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-keep class com.mogo.realtime.entity.*{*;}
|
||||
-keep class com.mogo.realtime.Interface.*{*;}
|
||||
-keep class com.mogo.realtime.api.*{*;}
|
||||
-keep class com.mogo.realtime.socket.IMogoCloudOnMsgListener{*;}
|
||||
-keep class com.mogo.realtime.socket.IMogoCloudOnAckListener{*;}
|
||||
-keep class com.mogo.realtime.util.MogoLatLng{*;}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mogo.realtime.Interface;
|
||||
package com.mogo.realtime.api;
|
||||
|
||||
import com.mogo.realtime.entity.ADASRecognizedResult;
|
||||
import com.mogo.realtime.entity.CloudLocationInfo;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mogo.realtime.Interface;
|
||||
package com.mogo.realtime.api;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
package com.mogo.realtime.constant;
|
||||
|
||||
public class RealTimeConstant {
|
||||
|
||||
public static final String TAG = "MoGoAiCloudRealTime";
|
||||
}
|
||||
@@ -12,10 +12,9 @@ import com.mogo.realtime.socket.SocketHandler;
|
||||
*/
|
||||
public class SnapshotUploadInTime implements UploadInTimeHandler.IUploadInTimeListener {
|
||||
|
||||
private static final String TAG = "SnapshotUploadInTime";
|
||||
private static volatile SnapshotUploadInTime sInstance;
|
||||
//是否使用外部定位数据
|
||||
private boolean isUseExternalLocation = false;
|
||||
private final boolean isUseExternalLocation;
|
||||
|
||||
private SnapshotUploadInTime() {
|
||||
isUseExternalLocation = MoGoAiCloudClient.getInstance().getAiCloudClientConfig().getIsUseExternalLocation();
|
||||
|
||||
@@ -7,12 +7,13 @@ import androidx.annotation.Keep;
|
||||
|
||||
import com.mogo.utils.WorkThreadHandler;
|
||||
|
||||
import static com.mogo.realtime.constant.RealTimeConstant.TAG;
|
||||
|
||||
/**
|
||||
* AI云 实时上报数据频率处理类
|
||||
*/
|
||||
public class UploadInTimeHandler {
|
||||
|
||||
private static final String TAG = "UploadInTimeHandler";
|
||||
private static final int MSG_DATA_CHANGED = 0x100;
|
||||
private static final long MSG_DATA_INTERNAL = 500L;
|
||||
private final long uploadDelay = MSG_DATA_INTERNAL;
|
||||
|
||||
@@ -14,15 +14,16 @@ import com.mogo.utils.logger.Logger;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import static com.mogo.realtime.constant.RealTimeConstant.TAG;
|
||||
|
||||
/**
|
||||
* AI云SDK内部定位服务
|
||||
*/
|
||||
public class MogoRTKLocation {
|
||||
|
||||
private static final String TAG = "MogoRTKLocation";
|
||||
|
||||
private LocationManager locationManager;
|
||||
private final List<CloudLocationInfo> cacheList = new ArrayList<>();
|
||||
private CloudLocationInfo locInfo;
|
||||
|
||||
public static MogoRTKLocation getInstance() {
|
||||
return RTKHolder.rtkLoc;
|
||||
@@ -38,7 +39,14 @@ public class MogoRTKLocation {
|
||||
|
||||
public List<CloudLocationInfo> sendLocationData() {
|
||||
List<CloudLocationInfo> list = new ArrayList<>(cacheList);
|
||||
if (cacheList != null && cacheList.size() > 0) {
|
||||
if (cacheList.size() == 0) {
|
||||
if (locInfo != null) {
|
||||
cacheList.add(locInfo);
|
||||
} else {
|
||||
Logger.e(TAG, "暂无定位数据");
|
||||
return list;
|
||||
}
|
||||
}else{
|
||||
cacheList.clear();
|
||||
}
|
||||
return list;
|
||||
@@ -78,7 +86,7 @@ public class MogoRTKLocation {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
private LocationListener locationListener = new LocationListener() {
|
||||
private final LocationListener locationListener = new LocationListener() {
|
||||
@Override
|
||||
public void onLocationChanged(Location location) {
|
||||
if (location != null) {
|
||||
@@ -91,6 +99,7 @@ public class MogoRTKLocation {
|
||||
cloudLocationInfo.setSatelliteTime(location.getTime());
|
||||
cloudLocationInfo.setSystemTime(System.currentTimeMillis());
|
||||
cloudLocationInfo.convertCoor2GCJ02();
|
||||
locInfo = cloudLocationInfo;
|
||||
cacheList.add(cloudLocationInfo);
|
||||
} else {
|
||||
Logger.e(TAG, "location == null");
|
||||
|
||||
@@ -26,13 +26,13 @@ import java.util.List;
|
||||
import static com.mogo.cloud.socket.WebSocketMsgType.MSG_TYPE_ACK;
|
||||
import static com.mogo.cloud.socket.WebSocketMsgType.MSG_TYPE_DOWNLINK_CAR_DATA;
|
||||
import static com.mogo.cloud.socket.WebSocketMsgType.MSG_TYPE_UPLINK_CAR_DATA;
|
||||
import static com.mogo.realtime.constant.RealTimeConstant.TAG;
|
||||
|
||||
/**
|
||||
* Socket长链 业务服务处理类
|
||||
*/
|
||||
public class SocketHandler {
|
||||
|
||||
private static final String TAG = "SocketHandler";
|
||||
private static volatile SocketHandler mInstance;
|
||||
private static final int HEADER_TYPE = MogoConnsvr.MsgType.mogoMsgTypeCollectSvrNoRspReq.getNumber();
|
||||
private static final int HIGH_FREQUENCY_CHANNEL_ID = 0x040002; //高频数据
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.mogo.realtime.spi;
|
||||
|
||||
import com.elegant.spi.AbstractDelegateManager;
|
||||
import com.mogo.cloud.passport.MoGoAiCloudClient;
|
||||
import com.mogo.realtime.Interface.IRealTimeProvider;
|
||||
import com.mogo.realtime.api.IRealTimeProvider;
|
||||
|
||||
/**
|
||||
* 提供RealTime SPI接口实例对象管理类
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.mogo.realtime.spi;
|
||||
|
||||
import com.mogo.realtime.Interface.IRealTimeProvider;
|
||||
import com.mogo.realtime.api.IRealTimeProvider;
|
||||
import com.mogo.realtime.entity.ADASRecognizedResult;
|
||||
import com.mogo.realtime.entity.CloudLocationInfo;
|
||||
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
package com.mogo.realtime.util;
|
||||
|
||||
import android.location.Location;
|
||||
|
||||
import com.mogo.realtime.entity.CloudLocationInfo;
|
||||
|
||||
/**
|
||||
* 定位数据类型转换工具
|
||||
*
|
||||
* @author tongchenfei
|
||||
*/
|
||||
public class LocationParseUtil {
|
||||
/**
|
||||
* 从Location 转 CloudLocationInfo
|
||||
*
|
||||
* @param info 待转数据
|
||||
* @return 转后数据
|
||||
*/
|
||||
public static CloudLocationInfo locationToCloudLocation(Location info) {
|
||||
if (info == null) {
|
||||
return null;
|
||||
}
|
||||
CloudLocationInfo cloud = new CloudLocationInfo();
|
||||
cloud.setLat(info.getLatitude());
|
||||
cloud.setLon(info.getLongitude());
|
||||
cloud.setAlt(info.getAltitude());
|
||||
cloud.setHeading(info.getBearing());
|
||||
cloud.setSpeed(info.getSpeed());
|
||||
cloud.setSatelliteTime(info.getTime());
|
||||
cloud.setSystemTime(System.currentTimeMillis());
|
||||
return cloud;
|
||||
}
|
||||
|
||||
public static MogoLatLng cloudLocationToMogoLatLng(CloudLocationInfo info) {
|
||||
if (info == null) {
|
||||
return null;
|
||||
}
|
||||
return new MogoLatLng(info.getLat(), info.getLon());
|
||||
}
|
||||
}
|
||||
@@ -33,9 +33,9 @@ public class MortonCode {
|
||||
private static final double RULE_MORTON_TO_LONLAT = 360.0 / Math.pow( 2, 32 );
|
||||
|
||||
/**
|
||||
* @param lon
|
||||
* @param lat
|
||||
* @return
|
||||
* @param lon 经度
|
||||
* @param lat 纬度
|
||||
* @return long 莫顿码
|
||||
*/
|
||||
public static long wrapEncodeMorton( Double lon, Double lat ) {
|
||||
DecimalFormat decimalFormat = new DecimalFormat( "#.######" );
|
||||
@@ -46,13 +46,13 @@ public class MortonCode {
|
||||
/**
|
||||
* 编码 morton code
|
||||
*
|
||||
* @param lon
|
||||
* @param lat
|
||||
* @return
|
||||
* @param lon 经度
|
||||
* @param lat 纬度
|
||||
* @return long 莫顿码
|
||||
*/
|
||||
public static long encodeMorton( Double lon, Double lat ) {
|
||||
|
||||
Long bit = 1L;
|
||||
long bit = 1L;
|
||||
long mortonCode = 0L;
|
||||
long x = ( long ) ( lon * RULE_MORTON );
|
||||
long y = ( long ) ( lat * RULE_MORTON );
|
||||
@@ -78,8 +78,8 @@ public class MortonCode {
|
||||
/**
|
||||
* 将莫顿码解码为坐标
|
||||
*
|
||||
* @param mortonCode
|
||||
* @return
|
||||
* @param mortonCode 莫顿码
|
||||
* @return 坐标
|
||||
*/
|
||||
public static double[] decodeMorton( long mortonCode ) {
|
||||
long[] midPoint = mortonCodeToCoord( mortonCode );
|
||||
@@ -95,8 +95,8 @@ public class MortonCode {
|
||||
/**
|
||||
* 莫顿码分别拆解为 编码后的经纬度长整数
|
||||
*
|
||||
* @param mortonCode
|
||||
* @return
|
||||
* @param mortonCode 莫顿码
|
||||
* @return 经纬度 长整数
|
||||
*/
|
||||
private static long[] mortonCodeToCoord( long mortonCode ) {
|
||||
long bit = 1L;
|
||||
@@ -114,7 +114,7 @@ public class MortonCode {
|
||||
/**
|
||||
* 对编码后的经纬度长整数进行解码
|
||||
*
|
||||
* @param midPoint
|
||||
* @param midPoint 经纬度 长整数
|
||||
*/
|
||||
private static void normalizeCoord( long[] midPoint ) {
|
||||
// if x > 180 degrees, then subtract 360 degrees
|
||||
@@ -136,7 +136,6 @@ public class MortonCode {
|
||||
midPoint[1] +=
|
||||
NDS_180_DEGREES + 1; // add 1 because 0 must be counted as well
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mogo.cloud.tanlu;
|
||||
package com.mogo.cloud.tanlu.api;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.Log;
|
||||
@@ -7,7 +7,6 @@ import com.mogo.cloud.network.BaseData;
|
||||
import com.mogo.cloud.network.NetConstants;
|
||||
import com.mogo.cloud.network.RetrofitFactory;
|
||||
import com.mogo.cloud.passport.MoGoAiCloudClient;
|
||||
import com.mogo.cloud.tanlu.api.IRoadInfoSearchCallback;
|
||||
import com.mogo.cloud.tanlu.bean.RoadInfoRequest;
|
||||
import com.mogo.cloud.tanlu.bean.RoadInfos;
|
||||
import com.mogo.cloud.tanlu.constant.HttpConstant;
|
||||
@@ -1,8 +1,8 @@
|
||||
package com.mogo.cloud.tanlu;
|
||||
package com.mogo.cloud.tanlu.api;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import com.mogo.cloud.tanlu.api.ITanluUploadCallback;
|
||||
import com.mogo.cloud.tanlu.core.CosUpload;
|
||||
import com.mogo.cloud.tanlu.bean.UploadInfo;
|
||||
|
||||
/**
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mogo.cloud.tanlu;
|
||||
package com.mogo.cloud.tanlu.core;
|
||||
|
||||
import android.content.Context;
|
||||
import android.text.TextUtils;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mogo.cloud.tanlu;
|
||||
package com.mogo.cloud.tanlu.core;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.Log;
|
||||
1
modules/mogo-trafficlive/.gitignore
vendored
Normal file
1
modules/mogo-trafficlive/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/build
|
||||
40
modules/mogo-trafficlive/build.gradle
Normal file
40
modules/mogo-trafficlive/build.gradle
Normal file
@@ -0,0 +1,40 @@
|
||||
apply plugin: 'com.android.library'
|
||||
|
||||
android {
|
||||
compileSdkVersion rootProject.ext.android.compileSdkVersion
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion rootProject.ext.android.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.android.targetSdkVersion
|
||||
|
||||
versionCode 1
|
||||
versionName "${MOGO_TRAFFICLIVE_VERSION}"
|
||||
|
||||
consumerProguardFiles "consumer-rules.pro"
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||||
implementation rootProject.ext.dependencies.rxjava
|
||||
implementation rootProject.ext.dependencies.rxandroid
|
||||
|
||||
if (Boolean.valueOf(RELEASE)) {
|
||||
implementation "com.mogo.cloud:network:${MOGO_NETWORK_VERSION}"
|
||||
} else {
|
||||
implementation project(":foudations:mogo-network")
|
||||
}
|
||||
}
|
||||
|
||||
apply from: new File(rootProject.rootDir, "gradle/upload.gradle").toString()
|
||||
0
modules/mogo-trafficlive/consumer-rules.pro
Normal file
0
modules/mogo-trafficlive/consumer-rules.pro
Normal file
4
modules/mogo-trafficlive/gradle.properties
Normal file
4
modules/mogo-trafficlive/gradle.properties
Normal file
@@ -0,0 +1,4 @@
|
||||
GROUP=com.mogo.cloud
|
||||
POM_ARTIFACT_ID=trafficlive
|
||||
VERSION_CODE=1
|
||||
VERSION_NAME=1.0.0-SNAPSHOT
|
||||
21
modules/mogo-trafficlive/proguard-rules.pro
vendored
Normal file
21
modules/mogo-trafficlive/proguard-rules.pro
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# You can control the set of applied configuration files using the
|
||||
# proguardFiles setting in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
|
||||
# Uncomment this to preserve the line number information for
|
||||
# debugging stack traces.
|
||||
#-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
5
modules/mogo-trafficlive/src/main/AndroidManifest.xml
Normal file
5
modules/mogo-trafficlive/src/main/AndroidManifest.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.mogo.cloud.trafficlive">
|
||||
|
||||
</manifest>
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.mogo.cloud.trafficlive.api;
|
||||
|
||||
public interface ITrafficLiveCallBack {
|
||||
|
||||
default String onLiveUrl(){
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.mogo.cloud.trafficlive.api;
|
||||
|
||||
public class MoGoAiCloudTrafficLive {
|
||||
|
||||
/**
|
||||
* 查看前方车辆直播
|
||||
*/
|
||||
public static void getVehicleHeadLiveUrl(ITrafficLiveCallBack callBack) {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 查看前方路口直播
|
||||
*/
|
||||
public static void getIntersectionLiveUrl(ITrafficLiveCallBack callBack) {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package com.mogo.cloud.trafficlive.constant;
|
||||
|
||||
public class TrafficLiveConstant {
|
||||
|
||||
public static final String TAG = "TrafficLiveConstant";
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package com.mogo.cloud.trafficlive.core;
|
||||
|
||||
import com.mogo.cloud.trafficlive.api.ITrafficLiveCallBack;
|
||||
|
||||
public class TrafficLiveManager {
|
||||
|
||||
private static volatile TrafficLiveManager mInstance;
|
||||
|
||||
private TrafficLiveManager() {
|
||||
}
|
||||
|
||||
public static TrafficLiveManager getInstance() {
|
||||
if (mInstance == null) {
|
||||
synchronized (TrafficLiveManager.class) {
|
||||
if (mInstance == null) {
|
||||
mInstance = new TrafficLiveManager();
|
||||
}
|
||||
}
|
||||
}
|
||||
return mInstance;
|
||||
}
|
||||
|
||||
public void getVehicleHeadLiveUrl(ITrafficLiveCallBack callBack){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package com.mogo.cloud.trafficlive.net;
|
||||
|
||||
public interface TrafficLiveApiService {
|
||||
|
||||
|
||||
}
|
||||
@@ -1,4 +1,8 @@
|
||||
<<<<<<< HEAD
|
||||
include ':modules:mogo-trafficlive'
|
||||
=======
|
||||
include ':foudations:mogo-common'
|
||||
>>>>>>> f325f43171aed36ba51557ef5340f1758bdb1543
|
||||
include ':foudations:mogo-live'
|
||||
include ':foudations:mogo-socket'
|
||||
include ':modules:mogo-realtime'
|
||||
|
||||
Reference in New Issue
Block a user