<GCKRemoteMediaClientAdInfoParserDelegate> Protocol Reference
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.