Files
MoGoEagleEye/modules/mogo-module-carchattingprovider/src/main/java/com/zhidao/carchattingprovider/ICarsChattingProvider.kt

44 lines
1.5 KiB
Kotlin

package com.zhidao.carchattingprovider
import android.content.Context
import androidx.fragment.app.FragmentActivity
import com.alibaba.android.arouter.facade.template.IProvider
interface ICarsChattingProvider : IProvider {
fun addFriend(flag: String, context: Context, friendSn: String, response: ICallProviderResponse)
fun isFriend(flag: String, context: Context, friendSn: String, response: ICallProviderResponse)
fun canCall(flag: String, context: Context, response: ICallProviderResponse)
fun isOnLine(flag: String, context: Context, sn: String, response: ICallProviderResponse)
fun getUserInfo(flag: String, context: Context, sn: String, response: ICallProviderResponse)
fun call(params: Map<String, String>)
fun invisibleUser(flag: String, context: Context, response: ICallProviderResponse)
fun registerCallWindowStatusListener(
flag: String,
context: Context,
response: ICallProviderResponse
)
fun unRegisterCallWindowStatusListener(flag: String, context: Context)
fun showUserWindow(flag: String, mogoDriverInfo: MogoDriverInfo, context: Context)
fun hideUserWindow(flag: String, context: Context, response: ICallProviderResponse? = null)
fun registerUserWindowStatusListener(
flag: String,
context: Context,
response: ICallProviderResponse
)
fun unRegisterUserWindowStatusListener(flag: String, context: Context)
fun initVehicleTeamContainer(flag: String, containerId: Int, activity: FragmentActivity)
}