Package-level declarations

Types

Link copied to clipboard
class FullscreenConfig(var enable: Boolean = true, var immersive: Boolean = true, var autoRotate: Boolean = true, var minAspectRatioForLandscapeForce: Float = 1.2f, var maxAspectRatioForPortraitForce: Float = 0.8f, var screenDefaultOrientation: Int? = null, var autoPiPOnBackground: Boolean = true)

Configuration for the fullscreen behavior of the player.

Link copied to clipboard
class StreamConfig(var streamId: String, var authenticationToken: String? = null, var autoPlay: Boolean = false, var muted: Boolean = false, var poster: String? = null, var startTime: Double = 0.0, var loop: Boolean = false, var fullscreenConfig: FullscreenConfig, var subtitles: List<SubtitleTrack> = emptyList(), var streamListener: StreamListener? = null, var enableAds: Boolean = true, var styleConfig: StyleConfigStream = StyleConfigStream(), var allLogs: Boolean = false)

Configuration for the BitmovinStream.

Link copied to clipboard

Enum class for the different errors that can occur during the stream setup.

Link copied to clipboard
interface StreamListener

Listener for the stream events. Implement this interface to receive events from the stream. It is also the gateway to the player and playerView.

Link copied to clipboard
class StyleConfigStream(var playbackMarkerBgColor: Color? = null, var playbackMarkerBorderColor: Color? = null, var playbackTrackPlayedColor: Color? = null, var playbackTrackBufferedColor: Color? = null, var playbackTrackBgColor: Color? = null, var textColor: Color? = null, var backgroundColor: Color? = null, var customCss: String = "")

Configuration for the style of the player.