IVSAdTimeUpdate
Objective-C
@interface IVSAdTimeUpdate : NSObject
Swift
class IVSAdTimeUpdate : NSObject, @unchecked Sendable
Represents ad time progress 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.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull adBreakId;Swift
var adBreakId: String { get } -
Unique identifier for the current ad creative.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull assetId;Swift
var assetId: String { get } -
Elapsed time within the ad break in seconds.
Declaration
Objective-C
@property (nonatomic, readonly) NSTimeInterval breakElapsed;Swift
var breakElapsed: TimeInterval { get } -
Total duration of the ad break in seconds.
Declaration
Objective-C
@property (nonatomic, readonly) NSTimeInterval breakDuration;Swift
var breakDuration: TimeInterval { get } -
Elapsed time within the current creative in seconds.
Declaration
Objective-C
@property (nonatomic, readonly) NSTimeInterval creativeElapsed;Swift
var creativeElapsed: TimeInterval { get } -
Total duration of the current creative in seconds.
Declaration
Objective-C
@property (nonatomic, readonly) NSTimeInterval creativeDuration;Swift
var creativeDuration: TimeInterval { get } -
1-based index of the current creative within the ad break.
Declaration
Objective-C
@property (nonatomic, readonly) NSUInteger podIndex;Swift
var podIndex: UInt { get } -
Total number of creatives in the ad break.
Declaration
Objective-C
@property (nonatomic, readonly) NSUInteger podLength;Swift
var podLength: UInt { get }