Class VideoCreativeProtocol

    • Method Detail

      • expand

        public void expand()
        Description copied from interface: VASTInterface
        Per IAB: the user activated a control to expand the creative.
        Specified by:
        expand in interface VASTInterface
      • fullScreen

        public void fullScreen()
        Description copied from interface: VASTInterface
        Per IAB: the user activated a control to extend the video player to the edges of the viewer’s screen.
        Specified by:
        fullScreen in interface VASTInterface
      • collapse

        public void collapse()
        Description copied from interface: VASTInterface
        the user activated a control to reduce the creative to its original dimensions.
        Specified by:
        collapse in interface VASTInterface
      • exitFullScreen

        public void exitFullScreen()
        Description copied from interface: VASTInterface
        the user activated the control to reduce video player size to original dimensions.
        Specified by:
        exitFullScreen in interface VASTInterface
      • close

        public void close()
        Description copied from interface: VASTInterface
        the user clicked the close button on the creative.
        Specified by:
        close in interface VASTInterface
      • closeLinear

        public void closeLinear()
        Description copied from interface: VASTInterface
        the user clicked the close button on the creative. The name of this event distinguishes it from the existing “close” event described in the 2008 IAB Digital Video In-Stream Ad Metrics Definitions, which defines the “close” metric as applying to non-linear ads only. The “closeLinear” event extends the “close” event for use in Linear creative.
        Specified by:
        closeLinear in interface VASTInterface
      • skip

        public void skip()
        Description copied from interface: VASTInterface
        the user activated a skip control to skip the creative, which is a different control than the one used to close the creative.
        Specified by:
        skip in interface VASTInterface
      • rewind

        public void rewind()
        Description copied from interface: VASTInterface
        the user activated the rewind control to access a previous point in the creative timeline.
        Specified by:
        rewind in interface VASTInterface
      • touch

        public void touch()
        Description copied from interface: VASTInterface
        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).
        Specified by:
        touch in interface VASTInterface
      • orientationChanged

        public void orientationChanged​(int orientation)
        Description copied from interface: VASTInterface
        the user made an orientation change by rotating the device. The orientation of Configuration.ORIENTATION_LANDSCAPE or Configuration.ORIENTATION_PORTRAIT is passed in.
        Specified by:
        orientationChanged in interface VASTInterface
      • onWindowFocusChanged

        public void onWindowFocusChanged​(boolean hasFocus)
        Description copied from interface: VASTInterface
        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.
        Specified by:
        onWindowFocusChanged in interface VASTInterface