BMPAdSource
Objective-C
@interface BMPAdSource : NSObject <NSCopying>
Swift
class AdSource : NSObject, NSCopying
Represents an ad source which can be assigned to an AdItem. An AdItem can have multiple AdSources as waterfalling option.
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) BMPAdSourceType type
Swift
var type: BMPAdSourceType { get }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly, copy) NSURL *tag
Swift
var tag: URL { get }
-
Unavailable
Undocumented
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE;
-
Unavailable
Undocumented
Declaration
Objective-C
+ (instancetype)new NS_UNAVAILABLE;
-
Undocumented
Declaration
Objective-C
- (instancetype)initWithTag:(NSURL *)tag ofType:(BMPAdSourceType)type NS_DESIGNATED_INITIALIZER NS_SWIFT_NAME(init(tag:ofType:));
Swift
init(tag: URL, ofType type: BMPAdSourceType)