SASSellerDefinedContent

Objective-C

@interface SASSellerDefinedContent : NSObject <NSCoding, NSCopying>

Swift

class SASSellerDefinedContent : NSObject, NSCoding, NSCopying

Object representing a Seller Defined Content. More info here: http://documentation.smartadserver.com/displaySDK/sellerdefinedaudience.html

  • ID

    The ID of the Seller Defined Content if any, nil otherwise.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *ID;

    Swift

    var id: String? { get }
  • The name of the Seller Defined Content 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 Content if any, nil otherwise.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSArray<SASSellerDefinedSegment *> *segments;

    Swift

    var segments: [SASSellerDefinedSegment]? { get }
  • Initialize a new instance of SASSellerDefinedContent.

    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 Content if any, nil otherwise.

    name

    The name of the Seller Defined Content if any, nil otherwise.

    segments

    An array of SASSellerDefinedSegment related to this Seller Defined Content if any, nil otherwise.

    Return Value

    An initialized instance of SASSellerDefinedContent.