AdEventType

@objc(AASDKAdEventType)
public enum AdEventType : Int, CaseIterable

Different event types sent by the AdManager to its listeners

  • Default state.

    Declaration

    Swift

    case unknown
  • An ad will start loading.

    Declaration

    Swift

    case preparingForPlay
  • The player playing the ad has finished loading (buffering). Useful when playing ads with the internal player.

    Declaration

    Swift

    case readyForPlay
  • An ad has started.

    Declaration

    Swift

    case didStartPlaying
  • An ad is paused.

    Declaration

    Swift

    case didPausePlaying
  • The first quartile of a linear ad has been reached.

    Declaration

    Swift

    case firstQuartile
  • The midpoint of a linear ad has been reached.

    Declaration

    Swift

    case midpoint
  • The third quartile of a linear ad has been reached.

    Declaration

    Swift

    case thirdQuartile
  • The complete quartile of a liniar ad has been reached.

    Declaration

    Swift

    case complete
  • A single ad has finished. This is paired with the .didStartPlaying event.

    Declaration

    Swift

    case didFinishPlaying
  • Single ad completed.

    Declaration

    Swift

    case adCompleted
  • All the ads managed by the ad manager have finished.

    Declaration

    Swift

    case allAdsCompleted