Interface NativeAd.NativeAdVideoPlayer

    • 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
    • Method Summary

      Modifier and Type Method Description
      abstract float getCurrentPosition() Method for getting current video position in seconds.
      abstract float getDuration() Method for getting current video duration in seconds.
      abstract boolean isVolumeOn() Method for getting native ad player volume state
      abstract void pause() Method for pausing native ad video
      abstract void play() Method for playing native ad video
      abstract void replay() Method for replaying native ad video
      abstract void setVolumeOff() Method for setting volume off to native ad video
      abstract void setVolumeOn() Method for setting volume on to native ad video
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getCurrentPosition

         abstract float getCurrentPosition()

        Method for getting current video position in seconds.

        Returns:

        Default - 0.0f, position time seconds otherwise.

      • getDuration

         abstract float getDuration()

        Method for getting current video duration in seconds.

        Returns:

        Default - 0.0f, total video duration seconds otherwise.

      • isVolumeOn

         abstract boolean isVolumeOn()

        Method for getting native ad player volume state

      • pause

         abstract void pause()

        Method for pausing native ad video

      • play

         abstract void play()

        Method for playing native ad video

      • replay

         abstract void replay()

        Method for replaying native ad video

      • setVolumeOff

         abstract void setVolumeOff()

        Method for setting volume off to native ad video

      • setVolumeOn

         abstract void setVolumeOn()

        Method for setting volume on to native ad video