[6.3.0] add func of security down load and add caller
This commit is contained in:
@@ -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?
|
||||
}
|
||||
@@ -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){}
|
||||
|
||||
@@ -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)
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user