GoogleMobileAds Framework Reference  |  iOS  |  Google for Developers | Latest TMZ Celebrity News & Gossip | Watch TMZ Live

GoogleMobileAds Framework Reference

GADAudioVideoManager


@interface GADAudioVideoManager : NSObject

Provides audio and video notifications and configurations management.

Don’t create an instance of this class and use the one available from GADMobileAds sharedInstance’s audioVideoManager.

  • Delegate for receiving video and audio updates.

    Declaration

    Swift

    weak var delegate: (any AudioVideoManagerDelegate)? { get set }

    Objective-C

    @property (nonatomic, weak, nullable) id<GADAudioVideoManagerDelegate> delegate;
  • Indicates whether the application wishes to manage audio session. If set as YES, the Google Mobile Ads SDK will stop managing AVAudioSession during the video playback lifecycle. If set as NO, the Google Mobile Ads SDK will control AVAudioSession. That may include: setting AVAudioSession’s category to AVAudioSessionCategoryAmbient when all videos are muted, setting AVAudioSession’s category to AVAudioSessionCategorySoloAmbient when any playing video becomes unmuted, and allowing background apps to continue playing sound when all videos rendered by Google Mobile Ads SDK are muted or have stopped playing. Must be accessed on main thread only.

    Declaration

    Swift

    var isAudioSessionApplicationManaged: Bool { get set }

    Objective-C

    @property (nonatomic) BOOL audioSessionIsApplicationManaged;

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.