完成调用接口封装
This commit is contained in:
@@ -163,6 +163,8 @@ public class MogoServicePaths {
|
||||
/**
|
||||
* 接口集合
|
||||
*/
|
||||
@Keep
|
||||
@Deprecated
|
||||
public static final String PATH_SERVICE_APIS = "/mogoservice/apis";
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,11 +1,41 @@
|
||||
package com.mogo.service.warning;
|
||||
package com.mogo.service.warning
|
||||
|
||||
import com.mogo.service.module.IMogoModuleProvider;
|
||||
import com.mogo.service.module.IMogoModuleProvider
|
||||
|
||||
/**
|
||||
* @author xiaoyuzhou
|
||||
* @date 2021/8/2 7:36 下午
|
||||
*/
|
||||
public interface IMoGoWaringProvider extends IMogoModuleProvider {
|
||||
interface IMoGoWaringProvider : IMogoModuleProvider {
|
||||
/**
|
||||
* 展示VR下V2X预警
|
||||
*
|
||||
* @param v2xType V2X类型
|
||||
* @param alertMessage 提醒文本
|
||||
*/
|
||||
fun showWarningV2X(v2xType: Int, alertMessage: String?)
|
||||
|
||||
}
|
||||
/**
|
||||
* 展示红绿灯预警
|
||||
*
|
||||
* @param checkLightId 0-都是默认,1-红,2-黄,3-绿
|
||||
*/
|
||||
fun showWarningTrafficLight(checkLightId: Int)
|
||||
|
||||
/**
|
||||
* 关闭红绿灯预警
|
||||
*/
|
||||
fun disableWarningTrafficLight()
|
||||
|
||||
/**
|
||||
* 展示限速预警
|
||||
*
|
||||
* @param limitingSpeed 限速速度
|
||||
*/
|
||||
fun showLimitingVelocity(limitingSpeed: Int)
|
||||
|
||||
/**
|
||||
* 关闭限速预警
|
||||
*/
|
||||
fun disableLimitingVelocity()
|
||||
}
|
||||
Reference in New Issue
Block a user