IVSAdBreak

Objective-C


@interface IVSAdBreak : NSObject

Swift

class IVSAdBreak : NSObject, @unchecked Sendable

Represents an ad break 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 this ad break.

    Declaration

    Objective-C

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

    Swift

    var adBreakId: String { get }
  • The roll type of the ad break.

    Declaration

    Objective-C

    @property (nonatomic, readonly) IVSAdBreakRollType rollType;

    Swift

    var rollType: IVSAdBreak.RollType { get }
  • Duration of the ad break in seconds.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSTimeInterval duration;

    Swift

    var duration: TimeInterval { get }
  • Number of creatives (ads) in this ad break.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSUInteger podLength;

    Swift

    var podLength: UInt { get }