jvmMain.tech.skot.libraries.video.SKAudioViewMock.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of viewmodelTests Show documentation
Show all versions of viewmodelTests Show documentation
viewmodelTests description
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() {
}
}