IMAAdEventType

enum IMAAdEventType {}

Different event types sent by the IMAAdsManager to its delegate.

  • Ad break ready.

    Declaration

    Swift

    case AD_BREAK_READY = 0

    Objective-C

    kIMAAdEvent_AD_BREAK_READY
  • Ad break will not play back any ads.

    Declaration

    Swift

    case AD_BREAK_FETCH_ERROR = 1

    Objective-C

    kIMAAdEvent_AD_BREAK_FETCH_ERROR
  • Ad break ended (only used for dynamic ad insertion).

    Declaration

    Swift

    case AD_BREAK_ENDED = 2

    Objective-C

    kIMAAdEvent_AD_BREAK_ENDED
  • Ad break started (only used for dynamic ad insertion).

    Declaration

    Swift

    case AD_BREAK_STARTED = 3

    Objective-C

    kIMAAdEvent_AD_BREAK_STARTED
  • Ad period ended (only used for dynamic ad insertion).

    Declaration

    Swift

    case AD_PERIOD_ENDED = 4

    Objective-C

    kIMAAdEvent_AD_PERIOD_ENDED
  • Ad period started is fired when an ad period starts. This includes the entire ad break including slate as well. This event will be fired even for ads that are being replayed or when seeking to the middle of an ad break. (only used for dynamic ad insertion).

    Declaration

    Swift

    case AD_PERIOD_STARTED = 5

    Objective-C

    kIMAAdEvent_AD_PERIOD_STARTED
  • All ads managed by the ads manager have completed.

    Declaration

    Swift

    case ALL_ADS_COMPLETED = 6

    Objective-C

    kIMAAdEvent_ALL_ADS_COMPLETED
  • Ad clicked.

    Declaration

    Swift

    case CLICKED = 7

    Objective-C

    kIMAAdEvent_CLICKED
  • Single ad has finished.

    Declaration

    Swift

    case COMPLETE = 8

    Objective-C

    kIMAAdEvent_COMPLETE
  • Cuepoints changed for VOD stream (only used for dynamic ad insertion). For this event, the IMAAdEvent.adData property contains a list of IMACuepoints at IMAAdEvent.adData[@cuepoints].

    Declaration

    Swift

    case CUEPOINTS_CHANGED = 9

    Objective-C

    kIMAAdEvent_CUEPOINTS_CHANGED
  • First quartile of a linear ad was reached.

    Declaration

    Swift

    case FIRST_QUARTILE = 10

    Objective-C

    kIMAAdEvent_FIRST_QUARTILE
  • An ad was loaded.

    Declaration

    Swift

    case LOADED = 11

    Objective-C

    kIMAAdEvent_LOADED
  • A log event for the ads being played. These are typically non fatal errors.

    Declaration

    Swift

    case LOG = 12

    Objective-C

    kIMAAdEvent_LOG
  • Midpoint of a linear ad was reached.

    Declaration

    Swift

    case MIDPOINT = 13

    Objective-C

    kIMAAdEvent_MIDPOINT
  • Ad paused.

    Declaration

    Swift

    case PAUSE = 14

    Objective-C

    kIMAAdEvent_PAUSE
  • Ad resumed.

    Declaration

    Swift

    case RESUME = 15

    Objective-C

    kIMAAdEvent_RESUME
  • Ad has skipped.

    Declaration

    Swift

    case SKIPPED = 16

    Objective-C

    kIMAAdEvent_SKIPPED
  • Ad has started.

    Declaration

    Swift

    case STARTED = 17

    Objective-C

    kIMAAdEvent_STARTED
  • Stream request has loaded (only used for dynamic ad insertion).

    Declaration

    Swift

    case STREAM_LOADED = 18

    Objective-C

    kIMAAdEvent_STREAM_LOADED
  • Stream has started playing (only used for dynamic ad insertion). Start Picture-in-Picture here if applicable.

    Declaration

    Swift

    case STREAM_STARTED = 19

    Objective-C

    kIMAAdEvent_STREAM_STARTED
  • Ad tapped.

    Declaration

    Swift

    case TAPPED = 20

    Objective-C

    kIMAAdEvent_TAPPED
  • Third quartile of a linear ad was reached.

    Declaration

    Swift

    case THIRD_QUARTILE = 21

    Objective-C

    kIMAAdEvent_THIRD_QUARTILE