目录

CLASS info
public abstract static class VideoOperator.VideoLifecycleListener extends Object
Video lifecycle listener.

Public Constructor Summary

Constructor name
VideoLifecycleListener()
Video lifecycle listener constructor.

Public Method Summary

Return typeMethod name
voidonVideoEnd()
Called when video playback is stopped.
voidonVideoMute(boolean isMuted)
Called when the mute status of a video changes.
voidonVideoPause()
Called when video playback is paused.
voidonVideoPlay()
Called when a video is played.
voidonVideoStart()
Called when video playback starts for the first time.

Public Constructors

Constructor
public VideoLifecycleListener()
Video lifecycle listener constructor.

Public Methods

Method
public void onVideoEnd()
Called when video playback is stopped.
Method
public void onVideoMute(boolean isMuted)
Called when the mute status of a video changes.


Parameters

Parameter nameParameter desc
isMutedIndicates whether a video is muted.
Method
public void onVideoPause()
Called when video playback is paused.
Method
public void onVideoPlay()
Called when a video is played.
Method
public void onVideoStart()
Called when video playback starts for the first time.