SsaiApi
@objc
public protocol SsaiApi
-
see
adBreakStart(adBreakMetadata: SsaiAdBreakMetadata)
Declaration
Swift
func adBreakStart()
-
Indicates the start of an ad break with the given metadata. Must be called before
adStart
; otherwise, calls toadStart
will be no-op.Declaration
Swift
func adBreakStart(adBreakMetadata: SsaiAdBreakMetadata)
-
see
adStart(adMetadata: SsaiAdMetadata)
Declaration
Swift
func adStart()
-
Indicates the start of an ad with the given metadata. No-op if called outside of ad break. Implicitly closes tracking of an ad and starts tracking of a new ad.
Declaration
Swift
func adStart(adMetadata: SsaiAdMetadata)
-
Indicates the end of the ad break and wraps up the ad data collection. No-op if called outside of ad break. Must be called after all ads in the ad break has been finished.
Declaration
Swift
func adBreakEnd()
-
Declaration
Swift
func adQuartileFinished(adQuartile: SsaiAdQuartile)
-
Declaration
Swift
func adQuartileFinished(adQuartile: SsaiAdQuartile, adQuartileMetadata: SsaiAdQuartileMetadata)