AI-generated Key Takeaways
- 
          
The
GMSNavigationScreenMetricsprotocol provides information about screen metrics, similar to some properties ofUIScreen. - 
          
It includes properties for the screen's bounding rectangle in points (
bounds) and pixels (nativeBounds). - 
          
It also provides the screen's native scale factor (
nativeScale) and natural scale factor (scale). 
GMSNavigationScreenMetrics
@protocol GMSNavigationScreenMetricsProtocol for returning information about screen metrics.
This protocol is a subset of the screen-metric-related properties implemented by UIScreen.
- 
                  
                  
The bounding rectangle of the screen, measured in points.
Declaration
Swift
var bounds: CGRect { get set }Objective-C
@property (nonatomic) CGRect bounds; - 
                  
                  
The bounding rectangle of the physical screen, measured in pixels.
Declaration
Swift
var nativeBounds: CGRect { get set }Objective-C
@property (nonatomic) CGRect nativeBounds; - 
                  
                  
The native scale factor for the physical screen.
Declaration
Swift
var nativeScale: CGFloat { get set }Objective-C
@property (nonatomic) CGFloat nativeScale; - 
                  
                  
The natural scale factor associated with the screen.
Declaration
Swift
var scale: CGFloat { get set }Objective-C
@property (nonatomic) CGFloat scale;