SnapscreenAdvertisement
@interface SnapscreenAdvertisement : NSObject
Represents an advertisement
-
The unique ID of this advertisement - intended for internal purposes only
Declaration
Objective-C
@property (nonatomic, readonly) long long advertisementId;
Swift
var advertisementId: Int64 { get }
-
The title of the advertisement
Declaration
Objective-C
@property (atomic, readonly, nullable) NSString *advertisementTitle;
Swift
var advertisementTitle: String? { get }
-
The description of the advertisement
Declaration
Objective-C
@property (atomic, readonly, nullable) NSString *advertisementDescription;
Swift
var advertisementDescription: String? { get }
-
The landing page URL this advertisements points to
Declaration
Objective-C
@property (atomic, readonly, nullable) NSURL *landingPageURL;
Swift
var landingPageURL: URL? { get }
-
The duration of the advertisement in seconds or nil if not available
Declaration
Objective-C
@property (atomic, readonly, nullable) NSNumber *duration;
Swift
var duration: NSNumber? { get }