Package 

Class VideoCreativeProtocol

    • Method Summary

      Modifier and Type Method Description
      void display() Specific creative display.
      void resume() Resume creative execution
      void pause() Pause creative execution
      void expand() Per IAB: the user activated a control to expand the creative.
      void fullScreen() Per IAB: the user activated a control to extend the video player to the edges of the viewer’sscreen.
      void collapse() the user activated a control to reduce the creative to its original dimensions.
      void exitFullScreen() the user activated the control to reduce video player size to original dimensions.
      void mute() Mute creative
      void unmute() UnMute creative
      void close() the user clicked the close button on the creative.
      void closeLinear() the user clicked the close button on the creative.
      void skip() the user activated a skip control to skip the creative, which is a different control than the oneused to close the creative.
      void rewind() the user activated the rewind control to access a previous point in the creative timeline.
      void touch() the user simply touched the video player in a non-specific region of the player (touched an empty area of the video, not a widget or button).
      void orientationChanged(int orientation) the user made an orientation change by rotating the device.
      void onWindowFocusChanged(boolean hasFocus) the user made a window focus change, such as leaving the activity, pressing back, invoking Recents, or returning from one of these states back to the video player.
      • Methods inherited from class com.appstock.sdk.rendering.models.AbstractCreative

        addOmFriendlyObstruction, changeVisibilityTrackerState, createOmAdSession, destroy, getCreativeModel, getCreativeView, getCreativeViewListener, getMediaDuration, getResolutionListener, getVideoSkipOffset, handleAdWindowFocus, handleAdWindowNoFocus, isBuiltInVideo, isDisplay, isEndCard, isInterstitialClosed, isPlaying, isResolved, isVideo, load, setCreativeView, setCreativeViewListener, setResolutionListener, startViewabilityTracker, trackAdLoaded, trackVideoEvent, trackVideoStateChange, updateAdView
      • Methods inherited from class java.lang.Object

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

      • display

         void display()

        Specific creative display.

      • resume

         void resume()

        Resume creative execution

      • pause

         void pause()

        Pause creative execution

      • expand

         void expand()

        Per IAB: the user activated a control to expand the creative.

      • fullScreen

         void fullScreen()

        Per IAB: the user activated a control to extend the video player to the edges of the viewer’sscreen.

      • collapse

         void collapse()

        the user activated a control to reduce the creative to its original dimensions.

      • exitFullScreen

         void exitFullScreen()

        the user activated the control to reduce video player size to original dimensions.

      • mute

         void mute()

        Mute creative

      • unmute

         void unmute()

        UnMute creative

      • close

         void close()

        the user clicked the close button on the creative.

      • closeLinear

         void closeLinear()

        the user clicked the close button on the creative. The name of this event distinguishes itfrom the existing “close” event described in the 2008 IAB Digital Video In-Stream Ad MetricsDefinitions, which defines the “close” metric as applying to non-linear ads only. The “closeLinear” eventextends the “close” event for use in Linear creative.

      • skip

         void skip()

        the user activated a skip control to skip the creative, which is a different control than the oneused to close the creative.

      • rewind

         void rewind()

        the user activated the rewind control to access a previous point in the creative timeline.

      • touch

         void touch()

        the user simply touched the video player in a non-specific region of the player (touched an empty area of the video, not a widget or button).

      • orientationChanged

         void orientationChanged(int orientation)

        the user made an orientation change by rotating the device. The orientation of Configuration.ORIENTATION_LANDSCAPE or Configuration.ORIENTATION_PORTRAIT is passed in.

      • onWindowFocusChanged

         void onWindowFocusChanged(boolean hasFocus)

        the user made a window focus change, such as leaving the activity, pressing back, invoking Recents, or returning from one of these states back to the video player. This will allow for internal threads to pause and resume correctly.