All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jvmMain.tech.skot.libraries.video.SKAudioViewMock.kt Maven / Gradle / Ivy

There is a newer version: 0.2.4_1.2.7
Show newest version
package tech.skot.libraries.video

class SKAudioViewMock : SKAudioVC {

    override var playing: Boolean = false
    override var trackList: List = emptyList()
    override var onState: ((state: SKAudioVC.State) -> Unit)? = null
    override var onDurations: ((durations: Map) -> Unit)? = null
    override var keepActiveInBackGroundWithMessageIfNothingPlayed: String? = null
    override var progressRefreshInterval: Long = 1000L

    override fun setCurrentTrack(track: SKAudioVC.Track) {

    }

    override fun addTrack(track: SKAudioVC.Track) {
    }

    var hasNextReturnValue:Boolean = false
    override fun hasNext(): Boolean {
        return hasNextReturnValue
    }

    override fun seekToLastTrack() {

    }

    override fun release() {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy