Interface InstreamAdPostViewPlayer

  • All Implemented Interfaces:

    
    public interface InstreamAdPostViewPlayer
    
                        

    Player that responsible for PostView playback and management

    • 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

      • getView

        @NonNull() abstract ViewGroup getView()

        Required for the visibility monitoring purposes.

        Returns:

        player's view ViewGroup

      • pause

         abstract void pause()

        Pause updateProgress if $PostViewInfo.getPauseOnHide() is true and PostView is invisible

      • updateProgress

         abstract void updateProgress(int progress, int totalDuration)

        Triggers every time when InstreamAdPostViewPlayer needs to update playback progress Will be trigger automatically

        Parameters:
        progress - exact value of current progress in milliseconds
        totalDuration - total duration of PostView showing time in milliseconds