# GCKMediaCommon.h File

[Enumerations](https://developers.google.com/cast/v3/reference/ios/g_c_k_media_common_8h#enum-members) \| [Variables](https://developers.google.com/cast/v3/reference/ios/g_c_k_media_common_8h#var-members) GCKMediaCommon.h File Reference GCKMedaiControlChannelResumeState, and GCKMediaRepeatMode.
[More...](https://developers.google.com/cast/v3/reference/ios/g_c_k_media_common_8h#details)

|---|---|
| ## Enumerations ||
| enum | [GCKMediaControlChannelResumeState](https://developers.google.com/cast/v3/reference/ios/g_c_k_media_common_8h#af220aba6f13c2466e41e7d5a3e683e52) { [GCKMediaControlChannelResumeStateUnchanged](https://developers.google.com/cast/v3/reference/ios/g_c_k_media_common_8h#af220aba6f13c2466e41e7d5a3e683e52a5036e7c92eb0b7186c6040a691bfe25c) = 0, [GCKMediaControlChannelResumeStatePlay](https://developers.google.com/cast/v3/reference/ios/g_c_k_media_common_8h#af220aba6f13c2466e41e7d5a3e683e52a3e0f34602e0d5fb46caa2942061db30c) = 1, [GCKMediaControlChannelResumeStatePause](https://developers.google.com/cast/v3/reference/ios/g_c_k_media_common_8h#af220aba6f13c2466e41e7d5a3e683e52a945ef0198683bebcedbfd427c2757e84) = 2 } |
|   | Enum defining the media control channel resume state. [More...](https://developers.google.com/cast/v3/reference/ios/g_c_k_media_common_8h#af220aba6f13c2466e41e7d5a3e683e52) |
|   ||
| enum | [GCKMediaRepeatMode](https://developers.google.com/cast/v3/reference/ios/g_c_k_media_common_8h#aad72b610da8ac7e1785975bd5f251406) { [GCKMediaRepeatModeUnchanged](https://developers.google.com/cast/v3/reference/ios/g_c_k_media_common_8h#aad72b610da8ac7e1785975bd5f251406aaed9b4e97b988065eb5f3cbadfd5582d) = 0, [GCKMediaRepeatModeOff](https://developers.google.com/cast/v3/reference/ios/g_c_k_media_common_8h#aad72b610da8ac7e1785975bd5f251406a33da7481895a55310fdcf1670cb30299) = 1, [GCKMediaRepeatModeSingle](https://developers.google.com/cast/v3/reference/ios/g_c_k_media_common_8h#aad72b610da8ac7e1785975bd5f251406a6c835238547a4ba67cd7db743fc71174) = 2, [GCKMediaRepeatModeAll](https://developers.google.com/cast/v3/reference/ios/g_c_k_media_common_8h#aad72b610da8ac7e1785975bd5f251406aa2bb146f64f9f7067cc9b819dbd55d2b) = 3, [GCKMediaRepeatModeAllAndShuffle](https://developers.google.com/cast/v3/reference/ios/g_c_k_media_common_8h#aad72b610da8ac7e1785975bd5f251406ab5a91eea7a66bec4f621b6e423080641) = 4 } |
|   | Enum defining the media control channel queue playback repeat modes. [More...](https://developers.google.com/cast/v3/reference/ios/g_c_k_media_common_8h#aad72b610da8ac7e1785975bd5f251406) |
|   ||

|---|---|
| ## Variables ||
| const NSTimeInterval | [kGCKInvalidTimeInterval](https://developers.google.com/cast/v3/reference/ios/g_c_k_media_common_8h#abe8984fca7b61be2470630190b919c3b) |
|   | A constant indicating an invalid time interval. [More...](https://developers.google.com/cast/v3/reference/ios/g_c_k_media_common_8h#abe8984fca7b61be2470630190b919c3b) |
|   ||

## Detailed Description

GCKMedaiControlChannelResumeState, and GCKMediaRepeatMode.

## Enumeration Type Documentation

|---|
| enum [GCKMediaControlChannelResumeState](https://developers.google.com/cast/v3/reference/ios/g_c_k_media_common_8h#af220aba6f13c2466e41e7d5a3e683e52) |

Enum defining the media control channel resume state.

| Enumerator ||
|---|---|
| GCKMediaControlChannelResumeStateUnchanged | A resume state indicating that the player state should be left unchanged. |
| GCKMediaControlChannelResumeStatePlay | A resume state indicating that the player should be playing, regardless of its current state. |
| GCKMediaControlChannelResumeStatePause | A resume state indicating that the player should be paused, regardless of its current state. |

|---|
| enum [GCKMediaRepeatMode](https://developers.google.com/cast/v3/reference/ios/g_c_k_media_common_8h#aad72b610da8ac7e1785975bd5f251406) |

Enum defining the media control channel queue playback repeat modes.

| Enumerator ||
|---|---|
| GCKMediaRepeatModeUnchanged | A repeat mode indicating that the repeat mode should be left unchanged. |
| GCKMediaRepeatModeOff | A repeat mode indicating no repeat. |
| GCKMediaRepeatModeSingle | A repeat mode indicating that a single queue item should be played repeatedly. |
| GCKMediaRepeatModeAll | A repeat mode indicating that the entire queue should be played repeatedly. |
| GCKMediaRepeatModeAllAndShuffle | A repeat mode indicating that the entire queue should be played repeatedly. The order of the items will be randomly shuffled once the last item in the queue finishes. The queue will continue to play starting from the first item of the shuffled items. |

## Variable Documentation

|---|
| kGCKInvalidTimeInterval |

A constant indicating an invalid time interval.

May be passed to methods which accept optional stream positions or time durations.