Skip to end of metadata
Go to start of metadata

JavaScript is disabled on your browser.
com.appnexus.opensdk.instreamvideo

Interface VideoAdPlaybackListener



  • public interface VideoAdPlaybackListener
    • Method Detail

      • onAdPlaying

        void onAdPlaying(VideoAd videoAd)
        Called when the ad play starts.
        Parameters:
        videoAd - The VideoAd that loaded the ad.
      • onQuartile

        void onQuartile(VideoAd videoAd,
                        Quartile quartile)
        Called when a Quartile tracker is fired. This is for the App to track. SDK has alrady tracked it.
        Parameters:
        videoAd - The VideoAd that loaded the ad.
        quartile - Quartile describing the type of quartile event fired.
      • onAdCompleted

        void onAdCompleted(VideoAd videoAd,
                           VideoAdPlaybackListener.PlaybackCompletionState playbackCompletionStateState)
        Called when the Video Ad is compled. Application is expected to take over from here.
        Parameters:
        videoAd - The VideoAd that loaded the ad.
        playbackCompletionStateState - PlaybackCompletionState describing the reason for Completion event
      • onAdMuted

        void onAdMuted(VideoAd ad,
                       boolean isMuted)
        Ad video has requested to mute or unmute audio.
        Parameters:
        ad - The VideoAd that loaded the ad.
        isMuted - mentions if audio was muted or unmuted
      • onAdClicked

        void onAdClicked(VideoAd videoAd)
        Called when the ad being clicked and the ClickThroughAction is set as either ANClickThroughAction.OPEN_DEVICE_BROWSER or ANClickThroughAction.OPEN_SDK_BROWSER. ANClickThroughAction The current activity will be paused as the user switches to the activity launched from the ad interaction. For example, the user may click a link that opens a web browser.
        Parameters:
        videoAd - The VideoAd that loaded the ad.
      • onAdClicked

        void onAdClicked(VideoAd videoAd,
                         java.lang.String clickUrl)
        Called when the ad being clicked and the ClickThroughAction is set as ANClickThroughAction.RETURN_URL ANClickThroughAction
        Parameters:
        videoAd - The VideoAd that loaded the ad,
        clickUrl - The click url corresponding to the ad.

  • No labels