VideoController.VideoLifecycleCallbacks

abstract class VideoController.VideoLifecycleCallbacks


Callback for receiving updates on video ad lifecycle events.

Summary

Public constructors

Public functions

Unit

Called when video playback finishes.

Unit
onVideoMute(isMuted: Boolean)

Called when the video changes mute state.

Unit

Called when video playback is paused.

Unit

Called when video playback is playing.

Unit

Called when video playback first begins.

Public constructors

VideoLifecycleCallbacks

VideoLifecycleCallbacks()

Public functions

onVideoEnd

fun onVideoEnd(): Unit

Called when video playback finishes.

onVideoMute

fun onVideoMute(isMuted: Boolean): Unit

Called when the video changes mute state.

onVideoPause

fun onVideoPause(): Unit

Called when video playback is paused.

onVideoPlay

fun onVideoPlay(): Unit

Called when video playback is playing.

onVideoStart

fun onVideoStart(): Unit

Called when video playback first begins.