SCAdInfo

@interface SCAdInfo

This class holds the advertisement information

  • Event type

    Declaration

    Objective-C

    @property (readonly, nonatomic) EventType type;
  • Always smartclip

    Declaration

    Objective-C

    @property (nonatomic, readonly, copy) NSString           *issuer
  • Adopted from the Bitmovin Player Events. Current client time

    Declaration

    Objective-C

    @property (readonly, nonatomic) int timestamp;
  • Number of the current ad, regardless of its variant

    Declaration

    Objective-C

    @property (readonly, nonatomic) int currentClip;
  • Total number of ads within the current adbreak, regardless of variants

    Declaration

    Objective-C

    @property (readonly, nonatomic) int totalClips;
  • Number of the current ad of variant COMMERCIAL.

    Declaration

    Objective-C

    @property (readonly, nonatomic) int currentCommercial;
  • Total number of ads with variant COMMERCIAL within the current adbreak

    Declaration

    Objective-C

    @property (readonly, nonatomic) int totalCommercials;
  • Total duration of ads with variant COMMERCIAL within the current adbreak

    Declaration

    Objective-C

    @property (readonly, nonatomic) int totalCommercialsDuration;
  • Current time of the content video in seconds

    Declaration

    Objective-C

    @property (readonly, nonatomic) int offset;
  • Advariant, depending on the current schedule and VAST manifest. Possible values are OPENER, COMMERCIAL, BUMPER, SPONSORED and CLOSER

    Declaration

    Objective-C

    @property (readonly, nonatomic) Variant variant;
  • Total time of the current ad

    Declaration

    Objective-C

    @property (readonly, nonatomic) int duration;
  • Value of the id attribute from the VAST > Adnode

    Declaration

    Objective-C

    @property (nonatomic, readonly, copy) NSString           *adId
  • Value of the VAST > Ad > AdTitle node

    Declaration

    Objective-C

    @property (nonatomic, readonly, copy) NSString           *title
  • Applies to VASTWrappers. VASTAdTagURI from the initial requested tag.

    Declaration

    Objective-C

    @property (nonatomic, readonly, copy) NSString           *vendorUrl
  • Applies to VASTWrappers. Array of Wrapperobjects, starting with the initial request up to the last Wrapper before the Inline tag

    Declaration

    Objective-C

    @property (nonatomic, readonly, copy) NSArray            *wrapperTags
  • Code according to IAB VAST4.0 Error Codes Table and custom Error Codes

    Declaration

    Objective-C

    @property (readonly, nonatomic) int errorCode;
  • cid

    The Campaign identifier

    Declaration

    Objective-C

    @property (nonatomic, readonly, copy) NSString           *cid
  • gid

    The Goal identifier

    Declaration

    Objective-C

    @property (nonatomic, readonly, copy) NSString           *gid
  • String representation of eventType

    Declaration

    Objective-C

    - (id)eventString;
  • String representation of variant

    Declaration

    Objective-C

    - (id)variantString;
  • String representation of the SCAdInfo object

    Declaration

    Objective-C

    - (id)toString;