[6.3.0] add func of security down load and add caller

This commit is contained in:
EmArrow
2024-03-06 18:21:31 +08:00
parent fd32c452ed
commit 40cc7b72f0
13 changed files with 174 additions and 196 deletions

View File

@@ -0,0 +1,11 @@
package com.mogo.eagle.core.function.api.cloud
import com.alibaba.android.arouter.facade.template.IProvider
interface IMoGoCertProvider:IProvider {
fun certificateDownLoad(onError: ((String) -> Unit)? = null)
fun getDeviceCrtF():String?
fun getRootCrtF(): String?
}

View File

@@ -3,7 +3,7 @@ package com.mogo.eagle.core.function.api.cloud
import com.mogo.eagle.core.data.v2x.V2XEvent
interface IMoGoCloudListener{
//单独线程
fun authCrtFile(device:String, root:String){}
fun tokenGot(token: String, sn: String){}

View File

@@ -3,5 +3,5 @@ package com.mogo.eagle.core.function.api.datacenter
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider
interface IDataCenterProvider: IMoGoFunctionServerProvider {
fun certificateDownLoad(callback: (String,String) -> Unit)
}