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

androidMain.tech.skot.libraries.video.di.SKVideoViewInjectorImpl.kt Maven / Gradle / Ivy

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

import tech.skot.core.di.BaseInjector
import tech.skot.core.di.module
import tech.skot.libraries.video.SKAudioVC
import tech.skot.libraries.video.SKVideoViewProxy
import tech.skot.libraries.video.skAudioViewProxy

class SKVideoViewInjectorImpl : SKVideoViewInjector {
    override fun skVideo(
        url: String,
        useCache: Boolean,
        playingInitial: Boolean,
        soundInitial: Boolean
    ) = SKVideoViewProxy(url, useCache, playingInitial, soundInitial)

    override fun skAudio(): SKAudioVC? {
        return skAudioViewProxy
    }

}

val skvideoModule = module {
    single { SKVideoViewInjectorImpl() as SKVideoViewInjector }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy