JWAdEventType
@objc
public enum JWAdEventType : Int
extension JWAdEventType: CustomStringConvertible
Constants denoting a type of ad event.
-
This event is reported when the ad break has come to an end.
Declaration
Swift
case adBreakEnd
-
This event is reported when the ad break has begun.
Declaration
Swift
case adBreakStart
-
This event is reported when the user taps the ad.
Declaration
Swift
case clicked
-
This event is reported when the ad is done playing.
Declaration
Swift
case complete
-
This event is used to report the ad impression, supplying additional detailed information about the ad.
Declaration
Swift
case impression
-
This event reports meta data information associated with the ad.
Declaration
Swift
case meta
-
The event is reported when the ad pauses.
Declaration
Swift
case pause
-
This event is reported when the ad begins playing, even in the middle of the stream after it was paused.
Declaration
Swift
case play
-
The event reports data about the ad request, when the ad is about to be loaded.
Declaration
Swift
case request
-
This event reports the schedule of ads across the currently playing content.
Declaration
Swift
case schedule
-
This event is reported when the user skips the ad.
Declaration
Swift
case skipped
-
This event is reported when the ad begins.
Declaration
Swift
case started
-
This event relays information about ad companions.
Declaration
Swift
case companion
-
This event fires when the VAST ad client loads an ad tag.
The payload contains the
JWAdEventKey.xml
key that exposes the XML downloaded from the tag.Note
Only available for JWPlayer Ads.Declaration
Swift
case loadedXML
-
This event is reported when the VAST XML has been parsed, loaded, and is ready for display.
Note
Only available for JWPlayer Ads.Declaration
Swift
case loaded
-
Declaration
Swift
public var description: String { get }