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:
 This is here for backwards compatibility reasons, but will return nil. More...
 
(instancetype) - init
 

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...
 
NSArray< NSString * > * adBreakClipIDs
 A list of identifier strings for the ad break clips contained by this ad break. More...
 
BOOL watched
 Whether the ad break has already been watched or not. More...
 
BOOL embedded
 Whether the ad break is embedded. More...
 
BOOL expanded
 Whether the ad break is expanded. More...
 

Method Detail

- (instancetype) initWithPlaybackPosition: (NSTimeInterval)  playbackPosition

This is here for backwards compatibility reasons, but will return nil.

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
- (NSArray<NSString *>*) adBreakClipIDs
readnonatomicstrong

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

Since
3.3
- (BOOL) watched
readnonatomicassign

Whether the ad break has already been watched or not.

Since
3.3
- (BOOL) embedded
readnonatomicassign

Whether the ad break is embedded.

Since
4.1
- (BOOL) expanded
readnonatomicassign

Whether the ad break is expanded.

Since
4.7.0