Ads Events

  • Thrown to indicate that an ad has begun.

    • ad : the Ad (either LinearAd or NonLinearAd)

    Declaration

    Swift

    @objc(THEOplayerAdBeginEvent)
    public class AdBeginEvent : AdEvent
  • Thrown to indicate that an ad has ended.

    • ad : the Ad (either LinearAd or NonLinearAd)

    Declaration

    Swift

    @objc(THEOplayerAdEndEvent)
    public class AdEndEvent : AdEvent
  • Thrown to indicate that an ad has encountered an error.

    • ad : the Ad (either LinearAd or NonLinearAd)
    • error : the error message
    See more

    Declaration

    Swift

    @objc(THEOplayerAdErrorEvent)
    open class AdErrorEvent : NSObject, AdErrorEventProtocol, AdErrorEventProtocol_Objc
  • Thrown to indicate that an ad has begun.

    • ad : the AdBreak

    Declaration

    Swift

    @objc(THEOplayerAdBreakBeginEvent)
    public class AdBreakBeginEvent : AdBreakEvent
  • Thrown to indicate that an ad has begun.

    • ad : the AdBreak

    Declaration

    Swift

    @objc(THEOplayerAdBreakEndEvent)
    public class AdBreakEndEvent : AdBreakEvent
  • Thrown to indicate that the first quartile of an ad was watched.

    • ad : the Ad (either LinearAd or NonLinearAd)

    Declaration

    Swift

    @objc(THEOplayerAdFirstQuartileEvent)
    public class AdFirstQuartileEvent : AdEvent
  • Thrown to indicate that an ad impression was fired.

    • ad : the Ad (either LinearAd or NonLinearAd)

    Declaration

    Swift

    @objc(THEOplayerAdImpressionEvent)
    public class AdImpressionEvent : AdEvent
  • Thrown to indicate that an ad was loaded.

    • ad : the Ad (either LinearAd or NonLinearAd)

    Declaration

    Swift

    @objc(THEOplayerAdLoadedEvent)
    public class AdLoadedEvent : AdEvent
  • Thrown to indicate that the middle of an ad was watched.

    • ad : the Ad (either LinearAd or NonLinearAd)

    Declaration

    Swift

    @objc(THEOplayerAdMidPointEvent)
    public class AdMidpointEvent : AdEvent
  • Thrown to indicate that the third quartile of an ad was watched.

    • ad : the Ad (either LinearAd or NonLinearAd)

    Declaration

    Swift

    @objc(THEOplayerAdThirdQuartileEvent)
    public class AdThirdQuartileEvent : AdEvent