# GCKAdBreakInfo Class

[Instance Methods](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_ad_break_info#pub-methods) \| [Properties](https://developers.google.com/cast/docs/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, \<NSCopying\>, and \<NSSecureCoding\>.

|---|---|
| ## Instance Method Summary ||
| (instancetype) | - [initWithPlaybackPosition:](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_ad_break_info#abd0f9596d00c76ef98f3d989eba4bbbf) |
|   | This is here for backwards compatibility reasons, but will return nil. [More...](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_ad_break_info#abd0f9596d00c76ef98f3d989eba4bbbf) |
|   ||
| (instancetype) | - **init** |
|   ||

|---|---|
| ## Property Summary ||
| NSString \* | [adBreakID](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_ad_break_info#af943493251c68254e9109a26c645582d) |
|   | A string that uniquely identifies this ad break. [More...](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_ad_break_info#af943493251c68254e9109a26c645582d) |
|   ||
| NSTimeInterval | [playbackPosition](https://developers.google.com/cast/docs/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/docs/reference/ios/interface_g_c_k_ad_break_info#a6930effa46bf9f7c299383c33de9000d) |
|   ||
| NSArray\< NSString \* \> \* | [adBreakClipIDs](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_ad_break_info#a8632793a71e2ab3b76b10ffdd2a6ee26) |
|   | A list of identifier strings for the ad break clips contained by this ad break. [More...](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_ad_break_info#a8632793a71e2ab3b76b10ffdd2a6ee26) |
|   ||
| BOOL | [watched](https://developers.google.com/cast/docs/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/docs/reference/ios/interface_g_c_k_ad_break_info#a7d34804396f65b35c5833595f2d2b330) |
|   ||
| BOOL | [embedded](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_ad_break_info#aee2556b9ef41d0091966a98e6592e592) |
|   | Whether the ad break is embedded. [More...](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_ad_break_info#aee2556b9ef41d0091966a98e6592e592) |
|   ||
| BOOL | [expanded](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_ad_break_info#a526f66fe8b534cc5f8b6830e72dd7599) |
|   | Whether the ad break is expanded. [More...](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_ad_break_info#a526f66fe8b534cc5f8b6830e72dd7599) |
|   ||

## 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