BMPAdItem
Objective-C
@interface BMPAdItem : NSObject <BMPJsonable, NSCopying>
Swift
class AdItem : NSObject, BMPJsonable, NSCopying
Represents an ad which can be scheduled in the play.
-
Undocumented
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSArray<BMPAdSource *> *sourcesSwift
var sources: [AdSource] { get } -
Undocumented
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *positionSwift
var position: String? { get } -
Undocumented
Declaration
Objective-C
- (instancetype)initWithAdSources:(NSArray<BMPAdSource *> *)sources atPosition:(nullable NSString *)position NS_DESIGNATED_INITIALIZER;Swift
init(adSources sources: [AdSource], atPosition position: String?) -
Undocumented
Declaration
Objective-C
- (instancetype)initWithAdSources:(NSArray<BMPAdSource *> *)sources;Swift
convenience init(adSources sources: [AdSource])
BMPAdItem Class Reference