SASSellerDefinedContent

Objective-C

@interface SASSellerDefinedContent : NSObject <NSCoding>

Swift

class SASSellerDefinedContent : NSObject, NSCoding

Object representing a Seller Defined Content. More info here: https://documentation.smartadserver.com/displaySDK8/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.