InStreamVideoPlayerController

Interface for controlling in-stream video ad playback. Provides methods for managing video ad playback, UI elements, and ad interactions.

Functions

Link copied to clipboard
open fun clickVideoAd()

Handles the click event on the video ad.

Link copied to clipboard
abstract fun destroy()

Destroys the video player controller and releases resources.

Link copied to clipboard

Returns the video ad quality of experience information.

Link copied to clipboard
abstract fun getLoudnessInfo(): String?

Returns the loudness information of the video ad.

Link copied to clipboard

Returns the non-linear ad information.

Link copied to clipboard
open fun hideOverlayUi()

Hides the video overlay UI elements.

Link copied to clipboard
abstract fun pause()

Pauses the video ad playback.

Link copied to clipboard
abstract fun resume()

Resumes the paused video ad playback.

Link copied to clipboard
open fun showOverlayUi()

Shows the video overlay UI elements.

Link copied to clipboard
open fun skip()

Skips the current video ad.

Link copied to clipboard
abstract fun start(enabled: Boolean)

Starts playing the video ad.