RewardedVideoAdUnit
public class RewardedVideoAdUnit : AdUnit, VideoBasedAdUnitProtocol
Represents an rewarded ad unit for original type of integration.
-
Property for video parameters.
Declaration
Swift
public var videoParameters: VideoParameters { get set }
-
A flag that determines whether SKOverlay should be supported
Declaration
Swift
public var supportSKOverlay: Bool { get set } -
Initializes a
RewardedVideoAdUnitwith the given configuration ID.Declaration
Swift
public init(configId: String)Parameters
configIdThe configuration ID for the ad unit.
-
Initializes a
RewardedVideoAdUnitwith the given configuration ID and minimum size percentages.Declaration
Swift
public convenience init(configId: String, minWidthPerc: Int, minHeightPerc: Int)Parameters
configIdThe configuration ID for the ad unit.
minWidthPercThe minimum width percentage for the ad unit.
minHeightPercThe minimum height percentage for the ad unit.
-
Attempts to display an
SKOverlayif a valid configuration is available.Declaration
Swift
public func activateSKOverlayIfAvailable() -
Dismisses the SKOverlay if presented
Declaration
Swift
public func dismissSKOverlayIfAvailable()