Application:getScreenDensity

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Available since: Gideros 2012.09.2
Class: Application

Description

Returns the screen density in pixels per inch. If screen density information is not available, returns nil.

(number) = application:getScreenDensity()

Return values

Returns (number) if available returns the screen density in pixels per inch, otherwise returns nil