BMPAdvertisingConfiguration


@interface BMPAdvertisingConfiguration : BMPConfiguration

Contains configuration values regarding the ads which should be played back by the player.

  • Contains one or more AdItem(s). Each AdItem defines when the specified ad shall be played.

    See

    BMPAdItem

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSArray<BMPAdItem *> *_Nonnull schedule;

    Swift

    var schedule: [AdItem] { get }
  • Creates a new AdvertisingConfiguration with the given ad schedule.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSchedule:
        (nonnull NSArray<BMPAdItem *> *)schedule;

    Swift

    init(schedule: [AdItem])

    Parameters

    schedule

    The ad schedule which will be used within this AdvertisingConfiguration.

    Return Value

    The newly created AdvertisingConfiguration.