THEOAdDescription
@objc(THEOplayerTHEOAdDescription)
public class THEOAdDescription : NSObject, _AdDescription, CodableA THEOplayerAdDescription object contains a description of an advertisement that will be added to the player.
- 
                  
                  The ad integration. DeclarationSwift public var integration: AdIntegration?
- 
                  
                  The ad Integration. DeclarationSwift @objc(integration) public var integration_Objc: AdIntegration { get set }
- 
                  
                  The ‘src’ property represents the source of the ad (VAST/VMAP). The player will download the content available at the URL and will schedule the specified advertisement(s). Remark Currently, the THEO ad integration supports VAST and VMAP files.*DeclarationSwift @objc public var src: URL
- 
                  
                  Specifies when an ad should be played in the content video. Remark - A number for the offset in seconds.
- ‘start’ for a preroll.
- ‘end’ for a postroll.
- ‘HH:MM:SS.mmm’ for a timestamp in the playback window.
- A percentage string (XX%) for a proportion of the content duration.
- Only use this property for VAST-files. THEOplayer will ignore this value for VMAP-files, because they already have their own offset.
 DeclarationSwift @objc public var timeOffset: String?
- 
                  
                  Specifies when a linear ad can be skipped. Remark - A number for the offset in seconds.
- ‘HH:MM:SS.mmm’ for a timestamp in the playback window of the advertisement.
- A percentage string (XX%) for a proportion of the ad duration.
 DeclarationSwift @objc public var skipOffset: String?
- 
                  
                  Constructs a THEOAdDescription. DeclarationSwift @objc public init(src: String, timeOffset: String? = nil, skipOffset: String? = nil)ParameterssrcThe source of the ad. timeOffsetSpecifies when an ad should be played in the content video. Defaults to nil. skipOffsetSpecifies at which point the remainder of the ad can be skipped. Defaults to nil. 
 THEOAdDescription Class Reference
      THEOAdDescription Class Reference