VideoAd
@objc(YMAVideoAd)
public protocol VideoAd
Provides information about video ad.
-
Describes a recommended media file for an ad.
Declaration
Swift
var mediaFile: MediaFile { get }
-
Describes all possible media files for an ad.
Declaration
Swift
var mediaFiles: [MediaFile] { get }
-
Describes amount and current position of ad in ad pod.
Declaration
Swift
var adPodInfo: AdPodInfo { get }
-
Describes skip information of an ad.
Declaration
Swift
var skipInfo: SkipInfo? { get }
-
Describes information about an ad.
Declaration
Swift
@available(*, deprecated, message: "Use info.extensionInfo instead.") var adInfo: String? { get }
-
Describes information about an ad.
Declaration
Swift
var info: VideoAdInfo { get }