GADPictureInPictureAdPosition
enum GADPictureInPictureAdPosition : NSInteger {}Options for the position of a Picture-in-Picture (PiP) ad.
-
Uses the SDK’s default ad position. Currently resolves to the ad’s last known position or the bottom-right corner if there is no last known position.
Use
GADPictureInPictureAdPositionDefaultwhen you want the SDK to manage placement; use an explicit position when your layout depends on a specific, stable location.Declaration
Swift
case `default` = 0Objective-C
GADPictureInPictureAdPositionDefault = 0 -
Bottom-right corner of the screen.
Declaration
Swift
case bottomRight = 1Objective-C
GADPictureInPictureAdPositionBottomRight = 1 -
Bottom-left corner of the screen.
Declaration
Swift
case bottomLeft = 2Objective-C
GADPictureInPictureAdPositionBottomLeft = 2 -
Top-left corner of the screen.
Declaration
Swift
case topLeft = 3Objective-C
GADPictureInPictureAdPositionTopLeft = 3 -
Top-right corner of the screen.
Declaration
Swift
case topRight = 4Objective-C
GADPictureInPictureAdPositionTopRight = 4