Interface NativeAd.NativeAdVideoListener

    • 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 void onVideoComplete(@NonNull() NativeAd ad) Calls when video inside banner completes playing
      abstract void onVideoError(@NonNull() String message, @NonNull() NativeAd ad) Calls when error happened with video
      abstract void onVideoPause(@NonNull() NativeAd ad) Calls when video inside banner paused
      abstract void onVideoProgress(float position, float actualDuration, @NonNull() NativeAd ad) Calls when video progress changing
      abstract void onVideoReplay(@NonNull() NativeAd ad) Calls when video inside banner starts replaying
      abstract void onVideoResume(@NonNull() NativeAd ad) Calls when video inside banner resumed
      abstract void onVideoStart(@NonNull() NativeAd ad) Calls when video inside banner starts playing
      abstract void onVideoVolumeChanged(float volume, @NonNull() NativeAd ad) Calls when ad return current volume changed (if exists)
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onVideoComplete

         abstract void onVideoComplete(@NonNull() NativeAd ad)

        Calls when video inside banner completes playing

        Parameters:
        ad - current instance
      • onVideoError

         abstract void onVideoError(@NonNull() String message, @NonNull() NativeAd ad)

        Calls when error happened with video

        Parameters:
        message - description of error
        ad - current instance
      • onVideoPause

         abstract void onVideoPause(@NonNull() NativeAd ad)

        Calls when video inside banner paused

        Parameters:
        ad - current instance
      • onVideoProgress

         abstract void onVideoProgress(float position, float actualDuration, @NonNull() NativeAd ad)

        Calls when video progress changing

        Parameters:
        position - current video position.
        actualDuration - current video duration.
        ad - current instance
      • onVideoReplay

         abstract void onVideoReplay(@NonNull() NativeAd ad)

        Calls when video inside banner starts replaying

        Parameters:
        ad - current instance
      • onVideoResume

         abstract void onVideoResume(@NonNull() NativeAd ad)

        Calls when video inside banner resumed

        Parameters:
        ad - current instance
      • onVideoStart

         abstract void onVideoStart(@NonNull() NativeAd ad)

        Calls when video inside banner starts playing

        Parameters:
        ad - current instance
      • onVideoVolumeChanged

         abstract void onVideoVolumeChanged(float volume, @NonNull() NativeAd ad)

        Calls when ad return current volume changed (if exists)

        Parameters:
        volume - volume level range 0 to 1, in case of error, -1 is returned
        ad - current instance