SLRVideo Player Provider
interface SLRVideoPlayerProvider
Interface for supporting video playback. Host app should implement it and add to SDK.
Functions
Link copied to clipboard
abstract fun getVideoPlayer(url: String, type: SLRVideoPlayer.Type, mode: SLRVideoPlayer.RepeatMode): SLRVideoPlayer
Returns SLRVideoPlayer based on video source.
Link copied to clipboard
abstract fun getVideoPlayerView(context: Context, type: SLRVideoPlayerView.Type): SLRVideoPlayerView
Returns SLRVideoPlayerView based on video source type.