Package 

Interface VASTInterface


  • 
    public interface VASTInterface
    
                        

    this event is used to indicate that an individual creative within the ad was loaded and playbackbegan. As with creativeView, this event is another way of tracking creative playback.

    • Method Summary

      Modifier and Type Method Description
      abstract void resume() Per IAB: the user activated the resume control after the creative had been stopped or paused.
      abstract void pause() Per IAB: the user clicked the pause control and stopped the creative.
      abstract void expand() Per IAB: the user activated a control to expand the creative.
      abstract void fullScreen() Per IAB: the user activated a control to extend the video player to the edges of the viewer’sscreen.
      abstract void collapse() the user activated a control to reduce the creative to its original dimensions.
      abstract void exitFullScreen() the user activated the control to reduce video player size to original dimensions.
      abstract void mute() the user activated the mute control and muted the creative.
      abstract void unmute() the user activated the mute control and unmuted the creative.
      abstract void close() the user clicked the close button on the creative.
      abstract void closeLinear() the user clicked the close button on the creative.
      abstract void skip() the user activated a skip control to skip the creative, which is a different control than the oneused to close the creative.
      abstract void rewind() the user activated the rewind control to access a previous point in the creative timeline.
      abstract 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).
      abstract void orientationChanged(int orientation) the user made an orientation change by rotating the device.
      abstract 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 java.lang.Object

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

      • resume

         abstract void resume()

        Per IAB: the user activated the resume control after the creative had been stopped or paused.

      • pause

         abstract void pause()

        Per IAB: the user clicked the pause control and stopped the creative.

      • expand

         abstract void expand()

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

      • fullScreen

         abstract void fullScreen()

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

      • collapse

         abstract void collapse()

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

      • exitFullScreen

         abstract void exitFullScreen()

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

      • mute

         abstract void mute()

        the user activated the mute control and muted the creative.

      • unmute

         abstract void unmute()

        the user activated the mute control and unmuted the creative.

      • close

         abstract void close()

        the user clicked the close button on the creative.

      • closeLinear

         abstract 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

         abstract 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

         abstract void rewind()

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

      • touch

         abstract 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

         abstract 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

         abstract 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.