IVSAdCreative

Objective-C


@interface IVSAdCreative : NSObject

Swift

class IVSAdCreative : NSObject, @unchecked Sendable

Represents an ad creative during playback.

Note

This API is in beta and may change.
  • Unavailable

    Do not create instances of this class directly

    Declaration

    Objective-C

    IVS_INIT_UNAVAILABLE
  • Unavailable

    Do not create instances of this class directly

    Declaration

    Objective-C

    IVS_INIT_UNAVAILABLE
  • Unique identifier for the ad break this creative belongs to.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull adBreakId;

    Swift

    var adBreakId: String { get }
  • Unique identifier for this ad creative.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull assetId;

    Swift

    var assetId: String { get }
  • 1-based index of this creative within the ad break.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSUInteger podIndex;

    Swift

    var podIndex: UInt { get }
  • Duration of the ad creative in seconds.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSTimeInterval duration;

    Swift

    var duration: TimeInterval { get }