| | |
| | | @class GADAudioVideoManager; |
| | | |
| | | /// A set of methods to inform the delegate of audio video manager events. |
| | | NS_SWIFT_NAME(AudioVideoManagerDelegate) |
| | | @protocol GADAudioVideoManagerDelegate <NSObject> |
| | | |
| | | @optional |
| | | |
| | | /// Tells the delegate that the Google Mobile Ads SDK will start playing a video. This method isn't |
| | | /// called if another video rendered by Google Mobile Ads SDK is already playing. |
| | | - (void)audioVideoManagerWillPlayVideo:(nonnull GADAudioVideoManager *)audioVideoManager; |
| | | - (void)audioVideoManagerWillPlayVideo:(nonnull GADAudioVideoManager *)audioVideoManager |
| | | NS_SWIFT_UI_ACTOR; |
| | | |
| | | /// Tells the delegate that the Google Mobile Ads SDK has paused/stopped all video playback. |
| | | - (void)audioVideoManagerDidPauseAllVideo:(nonnull GADAudioVideoManager *)audioVideoManager; |
| | | - (void)audioVideoManagerDidPauseAllVideo:(nonnull GADAudioVideoManager *)audioVideoManager |
| | | NS_SWIFT_UI_ACTOR; |
| | | |
| | | /// Tells the delegate that at least one video rendered by the Google Mobile Ads SDK will play |
| | | /// sound. Your app should stop playing sound when this method is called. |
| | | - (void)audioVideoManagerWillPlayAudio:(nonnull GADAudioVideoManager *)audioVideoManager; |
| | | - (void)audioVideoManagerWillPlayAudio:(nonnull GADAudioVideoManager *)audioVideoManager |
| | | NS_SWIFT_UI_ACTOR; |
| | | |
| | | /// Tells the delegate that all the video rendered by the Google Mobile Ads SDK has stopped playing |
| | | /// sound. Your app can now resume any music playback or produce any kind of sound. Note that this |
| | |
| | | /// deactivate AVAudioSession's instance. Doing so can lead to unexpected video playback behavior. |
| | | /// You may deactivate AVAudioSession only when all rendered video ads are paused or have finished |
| | | /// playing, and 'audioVideoDidPauseAllVideo:' is called. |
| | | - (void)audioVideoManagerDidStopPlayingAudio:(nonnull GADAudioVideoManager *)audioVideoManager; |
| | | - (void)audioVideoManagerDidStopPlayingAudio:(nonnull GADAudioVideoManager *)audioVideoManager |
| | | NS_SWIFT_UI_ACTOR; |
| | | |
| | | @end |