AI-generated Key Takeaways
-
The GCKRemoteMediaClientAdInfoParserDelegate protocol is used for parsing ad break information from a media status.
-
This protocol is deprecated and a new API will be introduced in the future.
-
It includes a method to determine if the receiver is currently playing an ad based on the media status.
-
It includes a method to determine the list of ad breaks in the current content.
Overview
The delegate protocol for parsing ad break information from a media status.
- Deprecated:
- A new API will be introduced in the future.
- Since
- 3.0
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... | |
| (NSArray< GCKAdBreakInfo * > *__nullable) | - 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.