ICourseService.kt 614 Bytes
Newer Older
严久程 committed
1
package com.ydl.course.api
严久程 committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

import android.app.Activity
import com.alibaba.android.arouter.facade.template.IProvider

/**
 * @author jiucheng
 * @描述:
 * @Copyright Copyright (c) 2018
 * @Company 壹点灵
 * @date 2019/11/12
 */
interface ICourseService :IProvider {
    /**
     * 课程专题页面
     */
    fun courseTopic(activity: Activity, id : String)

    fun closePlayer()

    fun isPlaying(): Boolean

    fun startCoursePlayPage(activity: Activity, from : Int) //from 1表示通知栏点进来,2表示右上角快捷按钮

    fun play()

    fun pause()

    fun sendLoginStatusToFlutter()
}