AI-generated Key Takeaways
- 
          
GADMediaAspectRatio is an enum used to define the aspect ratio of media.
 - 
          
It includes options for unknown, any, landscape, portrait, and square media aspect ratios.
 - 
          
Each aspect ratio is assigned an integer value.
 
GADMediaAspectRatio
enum GADMediaAspectRatio : NSInteger {}Media aspect ratio.
- 
                  
                  
Unknown media aspect ratio.
Declaration
Swift
case unknown = 0Objective-C
GADMediaAspectRatioUnknown = 0 - 
                  
                  
Any media aspect ratio.
Declaration
Swift
case any = 1Objective-C
GADMediaAspectRatioAny = 1 - 
                  
                  
Landscape media aspect ratio.
Declaration
Swift
case landscape = 2Objective-C
GADMediaAspectRatioLandscape = 2 - 
                  
                  
Portrait media aspect ratio.
Declaration
Swift
case portrait = 3Objective-C
GADMediaAspectRatioPortrait = 3 - 
                  
                  
Close to square media aspect ratio. This is not a strict 1:1 aspect ratio.
Declaration
Swift
case square = 4Objective-C
GADMediaAspectRatioSquare = 4