BCOVAd Class Reference

Inherits from NSObject
Declared in BCOVAdvertising.h

Overview

This object represents an ad.

  title

The title of the ad.

@property (nonatomic, readonly, copy) NSString *title

Discussion

The title of the ad.

Declared In

BCOVAdvertising.h

  adId

The id of the ad.

@property (nonatomic, readonly, copy) NSString *adId

Discussion

The id of the ad.

Declared In

BCOVAdvertising.h

  beginTime

The begin time of the ad.

@property (nonatomic, readonly) CMTime beginTime

Discussion

The begin time of the ad.

Declared In

BCOVAdvertising.h

  duration

The duration of the ad.

@property (nonatomic, readonly) CMTime duration

Discussion

The duration of the ad.

Declared In

BCOVAdvertising.h

  properties

The properties of the ad.

@property (nonatomic, readonly, copy) NSDictionary *properties

Discussion

The properties of the ad.

Declared In

BCOVAdvertising.h

– initWithTitle:adId:beginTime:duration:properties:

This is the designated initializer. It creates an ad.

- (instancetype)initWithTitle:(NSString *)title adId:(NSString *)adId beginTime:(CMTime)beginTime duration:(CMTime)duration properties:(NSDictionary *)properties

Parameters

title

The title of the ad.

adId

The id of the ad.

beginTime

The time in the video in which the ad will play.

duration

The duration of the ad.

properties

The properties of the ad.

Return Value

An initialized ad.

Discussion

This is the designated initializer. It creates an ad.

Declared In

BCOVAdvertising.h

– isEqualToAd:

Returns YES if ad is equivalent to this instance.

- (BOOL)isEqualToAd:(BCOVAd *)ad

Parameters

ad

The ad to test for equivalence with this instance.

Return Value

Whether ad is equivalent to this instance.

Discussion

Returns YES if ad is equivalent to this instance.

Declared In

BCOVAdvertising.h