GoogleMobileAds. Api. MobileAds. Utils

Contains methods for returning the device scale and safe width.

Summary

Public static functions

int
The safe width of the device.
float
The scale of the device in density independent pixels.

Public static functions

GetDeviceSafeWidth

 int 
  
 GetDeviceSafeWidth 
 () 

The safe width of the device.

Details
Returns

GetDeviceScale

 float 
  
 GetDeviceScale 
 () 

The scale of the device in density independent pixels.

Create a Mobile Website
View Site in Mobile | Classic
Share by: