sdk-common / com.tomtom.online.sdk.common.util / DisplayParamsProvider

DisplayParamsProvider

open class DisplayParamsProvider

Helper functions to easily obtain screen width and height.

Constructors

<init>

DisplayParamsProvider()

Private constructor.

Functions

getScreenHeightInPixels

open fun getScreenHeightInPixels(activity: Activity!): Double

Get screen height in pixels.

getScreenWidthInPixels

open fun getScreenWidthInPixels(activity: Activity!): Double

Get screen width in pixels.