GCKAdBreakInfo Class

GCKAdBreakInfo Class Reference

Overview

A class representing an ad break.

Since
3.1

Inherits NSObject, <NSCopying>, and <NSSecureCoding>.

Instance Method Summary

(instancetype) - initWithPlaybackPosition:
 Designated initializer. More...
 

Property Summary

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

Method Detail

- (instancetype) initWithPlaybackPosition: (NSTimeInterval)  playbackPosition

Designated initializer.

Constructs a new GCKAdBreakInfo.

Parameters
playbackPositionThe playback position in seconds for this ad break.

Property Detail

- (NSString*) adBreakID
readnonatomicstrong

A string that uniquely identifies this ad break.

Since
3.3
- (NSTimeInterval) playbackPosition
readnonatomicassign

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

Since
3.1
- (BOOL) watched
readnonatomicassign

Whether the ad break has already been watched or not.

Since
3.3
- (NSArray<NSString *>*) adBreakClipIDs
readnonatomicstrong

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

Since
3.3
- (BOOL) embedded
readnonatomicassign

Whether the ad break is embedded.

Since
4.1