IConfideService.kt 1.01 KB
Newer Older
konghaorui committed
1 2 3
package com.ydl.confide.api

import android.app.Activity
ydl committed
4
import android.app.Application
konghaorui committed
5 6
import android.content.Context
import android.content.Intent
YKai committed
7
import androidx.fragment.app.DialogFragment
8
import androidx.fragment.app.FragmentActivity
konghaorui committed
9 10 11 12 13 14 15 16 17 18 19
import com.alibaba.android.arouter.facade.template.IProvider

interface IConfideService : IProvider {
    fun phoneCallIntent(activity: Activity): Intent

    fun phoneCallFragment(head: String, callId: String): DialogFragment

    fun closePlayer()

    //倾诉首页
    fun openConfideHome(context: Context)
ydl committed
20 21 22 23 24 25 26 27 28 29

    fun connectionJava(id: Int, type: Int, activity: Activity, tellData: String?, callType:String?)

    fun ydlAvManagerLogin(uid: String?)

    fun startCondifeHomePage(context: Context, isSplash: Boolean)

    fun initYdlavManager(app: Application)

    fun showAxbConfirmDialog(activity: Activity?, type: Int, phoneNumber: String?)
30 31 32 33

    fun showExpertDetailDialog(
        activity: FragmentActivity,
        jumpUrl: String,
万齐军 committed
34 35
        doctorId: String,
        uid: String
36
    )
konghaorui committed
37
}