GoogleMobileAds.Api.MobileAds.Utils

Contains methods for returning the device scale and safe width.

Summary

Public static functions

GetDeviceSafeWidth()
int
The safe width of the device.
GetDeviceScale()
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.