GoogleInteractiveMediaAds Framework Reference

  • IMACuepoint is a data object that represents a cuepoint for a single ad break.

  • It includes properties for the cuepoint's startTime and endTime, both measured in seconds.

  • IMACuepoint also provides a played property (or isPlayed in Swift) to indicate whether the cuepoint has been played.

IMACuepoint

@interface IMACuepoint : NSObject

Data object representation of a cuepoint for a single ad break.

  • The start time of the cuepoint in seconds.

    Declaration

    Swift

    var startTime: TimeInterval { get }

    Objective-C

    @property (nonatomic, readonly) NSTimeInterval startTime;
  • The end time of the cuepoint in seconds.

    Declaration

    Swift

    var endTime: TimeInterval { get }

    Objective-C

    @property (nonatomic, readonly) NSTimeInterval endTime;
  • Specifies whether this cuepoint has been played.

    Declaration

    Swift

    var isPlayed: Bool { get }

    Objective-C

    @property (nonatomic, readonly, getter=isPlayed) BOOL played;