# GCKAdBreakInfo Class

[Instance Methods](https://developers.google.com/cast/v3/reference/ios/interface_g_c_k_ad_break_info#pub-methods) \| [Properties](https://developers.google.com/cast/v3/reference/ios/interface_g_c_k_ad_break_info#properties) GCKAdBreakInfo Class Reference

## Overview

A class representing an ad break.

Since
:   3.1

Inherits NSObject. Implements \<NSCopying\>.

|---|---|
| ## Instance Method Summary ||
| (instancetype) | - [initWithPlaybackPosition:](https://developers.google.com/cast/v3/reference/ios/interface_g_c_k_ad_break_info#abd0f9596d00c76ef98f3d989eba4bbbf) |
|   | Designated initializer. [More...](https://developers.google.com/cast/v3/reference/ios/interface_g_c_k_ad_break_info#abd0f9596d00c76ef98f3d989eba4bbbf) |
|   ||

|---|---|
| ## Property Summary ||
| NSString \* | [adBreakID](https://developers.google.com/cast/v3/reference/ios/interface_g_c_k_ad_break_info#af943493251c68254e9109a26c645582d) |
|   | A string that uniquely identifies this ad break. [More...](https://developers.google.com/cast/v3/reference/ios/interface_g_c_k_ad_break_info#af943493251c68254e9109a26c645582d) |
|   ||
| NSTimeInterval | [playbackPosition](https://developers.google.com/cast/v3/reference/ios/interface_g_c_k_ad_break_info#a6930effa46bf9f7c299383c33de9000d) |
|   | The playback position, in seconds, at which this ad will start playing. [More...](https://developers.google.com/cast/v3/reference/ios/interface_g_c_k_ad_break_info#a6930effa46bf9f7c299383c33de9000d) |
|   ||
| BOOL | [watched](https://developers.google.com/cast/v3/reference/ios/interface_g_c_k_ad_break_info#a7d34804396f65b35c5833595f2d2b330) |
|   | Whether the ad break has already been watched or not. [More...](https://developers.google.com/cast/v3/reference/ios/interface_g_c_k_ad_break_info#a7d34804396f65b35c5833595f2d2b330) |
|   ||
| NSArray\< NSString \* \> \* | [adBreakClipIDs](https://developers.google.com/cast/v3/reference/ios/interface_g_c_k_ad_break_info#a8632793a71e2ab3b76b10ffdd2a6ee26) |
|   | A list of the identifier string for the ad break clips contained by this ad break. [More...](https://developers.google.com/cast/v3/reference/ios/interface_g_c_k_ad_break_info#a8632793a71e2ab3b76b10ffdd2a6ee26) |
|   ||

## Method Detail

|---|---|---|---|---|
| - (instancetype) initWithPlaybackPosition: |   | (NSTimeInterval) | *playbackPosition* |   |

Designated initializer.

Constructs a new [GCKAdBreakInfo](https://developers.google.com/cast/v3/reference/ios/interface_g_c_k_ad_break_info "A class representing an ad break. ").

Parameters
:

    |---|---|
    | playbackPosition | The playback position in seconds for this ad break. |


## Property Detail

|---|---|
| |---| | - (NSString\*) adBreakID | | readnonatomiccopy |

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 the identifier string for the ad break clips contained by this ad break.

Since
:   3.3