SASSellerDefinedAudience
Objective-C
@interface SASSellerDefinedAudience : NSObject <NSCoding, NSCopying>
Swift
class SASSellerDefinedAudience : NSObject, NSCoding, NSCopying
Object representing a Seller Defined Audience. More info here: http://documentation.smartadserver.com/displaySDK/sellerdefinedaudience.html
-
The ID of the Seller Defined Audience if any, nil otherwise.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *ID;
Swift
var id: String? { get }
-
The name of the Seller Defined Audience if any, nil otherwise.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *name;
Swift
var name: String? { get }
-
An array of SASSellerDefinedSegment related to this Seller Defined Audience if any, nil otherwise.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<SASSellerDefinedSegment *> *segments;
Swift
var segments: [SASSellerDefinedSegment]? { get }
-
Initialize a new instance of SASSellerDefinedAudience.
Declaration
Objective-C
- (nonnull instancetype) initWithID:(nullable NSString *)ID name:(nullable NSString *)name segments:(nullable NSArray<SASSellerDefinedSegment *> *)segments;
Swift
init(id ID: String?, name: String?, segments: [SASSellerDefinedSegment]?)
Parameters
ID
The ID of the Seller Defined Audience if any, nil otherwise.
name
The name of the Seller Defined Audience if any, nil otherwise.
segments
An array of SASSellerDefinedSegment related to this Seller Defined Audience if any, nil otherwise.
Return Value
An initialized instance of SASSellerDefinedAudience.