Difference between revisions of "Application:getScreenDensity"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2012.09.2<br/>
+
'''<translate>Available since</translate>:''' Gideros 2012.09.2<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
Returns the screen density in pixels per inch. If screen density information is not available, returns [[Special:MyLanguage/nil|nil]].<br />
 
Returns the screen density in pixels per inch. If screen density information is not available, returns [[Special:MyLanguage/nil|nil]].<br />
Line 8: Line 8:
 
(number) = Application:getScreenDensity()
 
(number) = Application:getScreenDensity()
 
</source>
 
</source>
=== Return values ===
+
=== <translate>Return values</translate> ===
'''Returns''' (number) <translate>If available returns the screen density in pixels per inch, otherwise returns [[Special:MyLanguage/nil|nil]].</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>If available returns the screen density in pixels per inch, otherwise returns [[Special:MyLanguage/nil|nil]].</translate><br/>

Revision as of 07:27, 24 August 2018

Available since: Gideros 2012.09.2

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.