<GCKRemoteMediaClientAdInfoParserDelegate > Protocol Reference

The delegate protocol for parsing ad break information from a media status. More...

#import <GCKRemoteMediaClient.h>

+ Inheritance diagram for <GCKRemoteMediaClientAdInfoParserDelegate >:

Instance Methods

(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 * > *GCK_NULLABLE_TYPE) - remoteMediaClient:shouldSetAdBreaksInMediaStatus:
 Allows the delegate to determine the list of ad breaks in the current content. More...
 

Detailed Description

The delegate protocol for parsing ad break information from a media status.

Deprecated:

Method Documentation

- (NSArray<GCKAdBreakInfo *> *GCK_NULLABLE_TYPE GCKRemoteMediaClientAdInfoParserDelegate) remoteMediaClient: (GCKRemoteMediaClient *)  client
shouldSetAdBreaksInMediaStatus: (GCKMediaStatus *)  mediaStatus 
optional

Allows the delegate to determine the list of ad breaks in the current content.

Parameters
clientThe client.
mediaStatusThe current media status.
Returns
An array of GCKAdBreakInfo objects representing the ad breaks for this content, or nil if there are no ad breaks.
- (BOOL GCKRemoteMediaClientAdInfoParserDelegate) remoteMediaClient: (GCKRemoteMediaClient *)  client
shouldSetPlayingAdInMediaStatus: (GCKMediaStatus *)  mediaStatus 
optional

Allows the delegate to determine whether the receiver is playing an ad or not, based on the current media status.

Parameters
clientThe client.
mediaStatusThe current media status.
Returns
YES if the receiver is currently playing an ad, NO otherwise.

The documentation for this protocol was generated from the following file: