Package 

Interface VideoPlayer

  • All Implemented Interfaces:

    @MainThread() 
    public interface VideoPlayer
    
                        

    This interface is used to control content playback while playing ads

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • setVideoPlayerListener

         abstract Unit setVideoPlayerListener(VideoPlayerListener listener)

        Sets listener for content player events. For each event of the content video player, the corresponding callback must be called on this object.

        Parameters:
        listener - Listener for content player events
      • getVolume

         abstract Float getVolume()

        Gets current content video volume with 0 being silence and 1 being maximum volume level