[Feat]支持跨模块调用司乘屏通信的能力

This commit is contained in:
chenfufeng
2023-02-14 17:14:17 +08:00
parent 4f25b0fd43
commit 8c7cb487aa
7 changed files with 67 additions and 0 deletions

View File

@@ -10,4 +10,8 @@ interface IMogoTelematicProvider: IProvider {
fun getServerIp(): String
fun getServerToken(): String
fun sendMsgToAllClients(type: Int, byteArray: ByteArray)
fun sendMsgToServer(type: Int, byteArray: ByteArray)
}

View File

@@ -0,0 +1,5 @@
package com.mogo.eagle.core.function.api.telematic
interface IReceivedMsgListener {
fun onReceivedMsg(type: Int, byteArray: ByteArray)
}