GCKAdBreakInfo Class

  • GCKAdBreakInfo is a class representing an ad break.

  • It has properties for the ad break's unique ID, playback position, watched status, and a list of contained ad clip IDs.

  • The class includes a designated initializer method to create a new GCKAdBreakInfo object with a specified playback position.

GCKAdBreakInfo Class Reference

Overview

A class representing an ad break.

Since
3.1

Inherits NSObject. Implements <NSCopying>.

Instance Method Summary

(instancetype) 
Designated initializer. More...

Property Summary

NSString * 
A string that uniquely identifies this ad break. More...
NSTimeInterval 
The playback position, in seconds, at which this ad will start playing. More...
BOOL 
Whether the ad break has already been watched or not. More...
NSArray< NSString * > * 
A list of the identifier string for the ad break clips contained by this ad break. More...

Method Detail

- (instancetype) initWithPlaybackPosition: (NSTimeInterval)  playbackPosition

Designated initializer.

Constructs a new GCKAdBreakInfo .

Parameters
playbackPosition
The playback position in seconds for this ad break.

Property Detail

- (NSString*) adBreakID
read nonatomic copy

A string that uniquely identifies this ad break.

Since
3.3
- (NSTimeInterval) playbackPosition
read nonatomic assign

The playback position, in seconds, at which this ad will start playing.

Since
3.1
- (BOOL) watched
read nonatomic assign

Whether the ad break has already been watched or not.

Since
3.3
- (NSArray<NSString *>*) adBreakClipIDs
read nonatomic strong

A list of the identifier string for the ad break clips contained by this ad break.

Since
3.3
Design a Mobile Site
View Site in Mobile | Classic
Share by: