[3.4.0]Taxi乘客屏转向灯+转向灯展示隐藏方法
This commit is contained in:
@@ -238,4 +238,18 @@ object CallerHmiManager {
|
||||
hmiProviderApi?.hideTrafficLightView()
|
||||
}
|
||||
|
||||
/**
|
||||
* 展示转向灯
|
||||
*/
|
||||
fun showTurnLightView(){
|
||||
hmiProviderApi?.showTurnLightView()
|
||||
}
|
||||
|
||||
/**
|
||||
* 隐藏转向灯
|
||||
*/
|
||||
fun hideTurnLightView(){
|
||||
hmiProviderApi?.hideTurnLightView()
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.mogo.eagle.core.function.call.v2x
|
||||
|
||||
import com.mogo.eagle.core.function.api.datacenter.union.IMoGoTurnLightListener
|
||||
import com.mogo.eagle.core.function.call.base.CallerBase
|
||||
|
||||
/**
|
||||
* 转向灯事件管理
|
||||
*/
|
||||
object CallerTurnLightListenerManager: CallerBase<IMoGoTurnLightListener>() {
|
||||
|
||||
/**
|
||||
* 隐藏转向灯
|
||||
*/
|
||||
fun invokeHideTurnLightView(){
|
||||
M_LISTENERS.forEach {
|
||||
val listener = it.value
|
||||
listener.hideTurnLightView()
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user