Page Summary
-
The <GCKRemoteMediaClientAdInfoParserDelegate> protocol is used for parsing ad break information from a media status.
-
This protocol is deprecated.
-
It includes methods to determine if an ad is currently playing and to get a list of ad breaks from the media status.
Overview
The delegate protocol for parsing ad break information from a media status.
Inherits <NSObject>.
Instance Method Summary | |
| (BOOL) | - remoteMediaClient:shouldSetPlayingAdInMediaStatus: |
| Allows the delegate to determine whether the receiver is playing an ad or not, based on the current media status. More... | |
| (nullable NSArray < GCKAdBreakInfo * > *) | - remoteMediaClient:shouldSetAdBreaksInMediaStatus: |
| Allows the delegate to determine the list of ad breaks in the current content. More... | |
Method Detail
|
optional |
Allows the delegate to determine whether the receiver is playing an ad or not, based on the current media status.
- Parameters
-
client The client. mediaStatus The current media status.
- Returns
- YES if the receiver is currently playing an ad, NO otherwise.
|
optional |
Allows the delegate to determine the list of ad breaks in the current content.
- Parameters
-
client The client. mediaStatus The current media status.
- Returns
- An array of GCKAdBreakInfo objects representing the ad breaks for this content, or nil if there are no ad breaks.