Protocols

  1. Inroll
  2. InrollQueue
  3. InstreamAd
  4. InstreamAdBinderDelegate
  5. InstreamAdBreak
  6. InstreamAdBreakDelegate
  7. InstreamAdLoaderDelegate
  8. InstreamVideoAdsProvider
  9. AdPodInfo
  10. InstreamAdSkipInfo
  11. MediaFile
  12. SkipInfo
  13. VideoAd
  14. Pauseroll
  15. PauserollQueue
  16. InstreamAdPlayer
  17. InstreamAdPlayerDelegate
  18. VideoPlayer
  19. VideoPlayerDelegate

Inroll

This class is responsible for playing inroll ad breaks.

See more

Declaration

Swift

@objc(YMAInroll)
public protocol Inroll

InrollQueue

InrollQueue provides ordered set of inrolls.

See more

Declaration

Swift

@objc(YMAInrollQueue)
public protocol InrollQueue

InstreamAd

Represents an instream ad.

See more

Declaration

Swift

@objc(YMAInstreamAd)
public protocol InstreamAd

InstreamAdBinderDelegate

This object will be notified about an instream ad lifecycle.

See more

Declaration

Swift

@objc(YMAInstreamAdBinderDelegate)
public protocol InstreamAdBinderDelegate

InstreamAdBreak

This class describes an ad break.

See more

Declaration

Swift

@objc(YMAInstreamAdBreak)
public protocol InstreamAdBreak

InstreamAdBreakDelegate

This protocol notifies about events occuring during instream ad break playback.

See more

Declaration

Swift

@objc(YMAInstreamAdBreakDelegate)
public protocol InstreamAdBreakDelegate

InstreamAdLoaderDelegate

This object will be notified about result of an ad download.

See more

Declaration

Swift

@objc(YMAInstreamAdLoaderDelegate)
public protocol InstreamAdLoaderDelegate

InstreamVideoAdsProvider

This protocol allows to get VideoAd from AdBreak

See more

Declaration

Swift

@objc(YMAInstreamVideoAdsProvider)
public protocol InstreamVideoAdsProvider

AdPodInfo

Describes amount and current position of ad in ad pod.

See more

Declaration

Swift

@objc(YMAAdPodInfo)
public protocol AdPodInfo

InstreamAdSkipInfo

Describes whether an ad is skippable and a skip offset.

See more

Declaration

Swift

@objc(YMAInstreamAdSkipInfo)
public protocol InstreamAdSkipInfo

MediaFile

Describes a media file for an instream ad.

See more

Declaration

Swift

@objc(YMAMediaFile)
public protocol MediaFile

SkipInfo

Describes a skip offset of an ad.

See more

Declaration

Swift

@objc(YMASkipInfo)
public protocol SkipInfo

VideoAd

Provides information about video ad.

See more

Declaration

Swift

@objc(YMAVideoAd)
public protocol VideoAd

Pauseroll

This class is responsible for playing pauseroll ad breaks.

See more

Declaration

Swift

@objc(YMAPauseroll)
public protocol Pauseroll

PauserollQueue

PauserollQueue provides ordered set of pauserolls.

See more

Declaration

Swift

@objc(YMAPauserollQueue)
public protocol PauserollQueue

InstreamAdPlayer

This protocol is used for playing instream ads.

See more

Declaration

Swift

@objc(YMAInstreamAdPlayer)
public protocol InstreamAdPlayer

InstreamAdPlayerDelegate

Ad player delegate. For each event that happend during the ad playback, the corresponding callback must be called on this object.

See more

Declaration

Swift

@objc(YMAInstreamAdPlayerDelegate)
public protocol InstreamAdPlayerDelegate

VideoPlayer

This protocol is used for playing content video.

See more

Declaration

Swift

@objc(YMAVideoPlayer)
public protocol VideoPlayer

VideoPlayerDelegate

Content player delegate. For each event that happend during the content playback, the corresponding callback must be called on this object.

See more

Declaration

Swift

@objc(YMAVideoPlayerDelegate)
public protocol VideoPlayerDelegate