Package 

Enum GoogleImaAdEventType

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      AD_ERROR

      Fired when an ad error occurs.

      AD_PERIOD_ENDED

      Fired when an ad period in a stream ends.

      AD_PERIOD_STARTED

      Fired when an ad period in a stream starts.

      • This event will be fired even for ads that are being replayed or when seeking to the middle of an adbreak.

      AD_BREAK_ENDED

      Fired when an adbreak in a stream ends.

      AD_BREAK_STARTED

      Fired when an adbreak in a stream starts. An adbreak can contain multiple ads.

      AD_BUFFERING

      Fired when playback stalls while the ad buffers.

      AD_PROGRESS

      Fired to inform of ad progress. Can be used by the publisher to display some sort of countdown timer.

      LOADED

      Fired when the VAST response has been received.

      THIRD_QUARTILE

      Fired when the ad has completed playing the third quarter (75%).

      ICON_FALLBACK_IMAGE_CLOSED

      Fired when the user has closed the icon fallback image dialog.

      • This event only fires for Connected TV devices.

      • This may be a good time to resume ad playback if the user is ready to continue playing the ad.

      ICON_TAPPED

      Fired when the user has tapped an ad icon.

      • On mobile, this will navigate to the landing page.

      • On Android TV, this will present a modal dialog containing the VAST icon fallback image.

      TAPPED

      Fired when a non-clickthrough portion of a video ad is clicked.

      STARTED

      Fired when an ad starts playing.

      SKIPPED

      Fired when an ad was skipped.

      SKIPPABLE_STATE_CHANGED

      Fired when an ad changes its skippable state. E.g. will trigger at a given point, if the ad is skippable after that particular point in time.

      RESUMED

      Fired when an ad is resumed.

      PAUSED

      Fired when an ad is paused.

      MIDPOINT

      Fired when the ad has completed playing the first half (50%).

      AD_BREAK_READY

      Fired when an adbreak is ready from VMAP or ad rule ads.

      • This will only fire if autoPlayAdBreaks has been set to false in ImaSdkSettings.

      • The adData object will contain an adBreakTime property. This property will represent the time at which the adbreak occurred. 0 for pre-rolls, -1 for post-rolls. For mid-rolls, content playhead time, in seconds.

      LOG

      Fired to enable the SDK to communicate a message to be logged, which is stored in adData.

      • A VPAID ad sends a LOG message.

      • A non-fatal playback error occurs. In this case the adData object will contain extra information.

      FIRST_QUARTILE

      Fired when the ad has completed playing the first quartile (25%).

      CONTENT_RESUME_REQUESTED

      Fired when content should be resumed. This usually happens when an ad finishes or collapses.

      • For IMA this event will indicate the end of an adbreak.

      CONTENT_PAUSE_REQUESTED

      Fired when content should be paused. This usually happens right before an ad is about to hide the content.

      • For IMA this event will indicate the start of an adbreak.

      CUEPOINTS_CHANGED

      Fired when the cuepoints have changed.

      • A list of cuepoints can be seen as a time-schedule of adbreaks.

      • Only triggered for VOD streams.

      COMPLETED

      Fired when a single ad completes playing.

      CLICKED

      Fired when an ad is clicked.

      AD_BREAK_FETCH_ERROR

      Fired when an adbreak will not play back any ads.

      ALL_ADS_COMPLETED

      Fired when all the valid ads in the ads response have completed, or when the response doesn't return any valid ads.

    • Method Summary

      Modifier and Type Method Description
      String getName() Function to get the name (textual representation) of an IMA related event.
      final String getName()
      final Integer getOrdinal()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait