InstreamAdBreakDelegate
@objc(YMAInstreamAdBreakDelegate)
public protocol InstreamAdBreakDelegate
This protocol notifies about events occuring during instream ad break playback.
-
Notifies that ad break is prepared.
Declaration
Swift
func instreamAdBreakDidPrepare(_ adBreak: InstreamAdBreak)
Parameters
adBreak
prepared ad break.
-
Notifies that ad break is started.
Declaration
Swift
func instreamAdBreakDidStart(_ adBreak: InstreamAdBreak)
Parameters
adBreak
started ad break.
-
Notifies about completion of instream ad break playback.
Declaration
Swift
func instreamAdBreakDidComplete(_ adBreak: InstreamAdBreak)
Parameters
adBreak
completed ad break.
-
Notifies about error occured during instream ad break playback.
Declaration
Swift
func instreamAdBreakDidError(_ adBreak: InstreamAdBreak)
Parameters
adBreak
failed ad break.