package com.applicaster.oasisplayer.player import android.content.Context import android.view.KeyEvent import androidx.lifecycle.Lifecycle import com.applicaster.oasisplayer.config.playable.PlayableConfig interface PlayerHolder { fun getPlayableConfig(): PlayableConfig? fun getCasterContext(): Context fun getCasterLifecycle(): Lifecycle? fun getCurrentVideoPositionSec(): Long fun onCastStarted(castingDeviceName: String?) fun onCastStopped(videoPositionMillis: Long?) fun getCurrentPlayMode() : PlayMode fun hideMinimizedCastView() fun dispatchRemoveControllerKeyEvent(event: KeyEvent) : Boolean } enum class PlayMode { FULLSCREEN, INLINE }