Difference between revisions of "Application"
Line 2: | Line 2: | ||
'''Supported platforms:''' android, ios, mac, pc<br/> | '''Supported platforms:''' android, ios, mac, pc<br/> | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
− | === Description === | + | === <translate>Description</translate> === |
<translate><br /> | <translate><br /> | ||
[[Special:MyLanguage/Application|Application]] class contains the common functions that's available to the current application. There is a global variable [[Special:MyLanguage/application|application]] of type [[Special:MyLanguage/Application|Application]] to access these functions.<br /> | [[Special:MyLanguage/Application|Application]] class contains the common functions that's available to the current application. There is a global variable [[Special:MyLanguage/application|application]] of type [[Special:MyLanguage/Application|Application]] to access these functions.<br /> | ||
Line 8: | Line 8: | ||
{|- | {|- | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | === Methods === | + | === <translate>Methods</translate> === |
[[Special:MyLanguage/Application:canOpenUrl|Application:canOpenUrl]] ''<translate>Tests if it is possible to open provided url</translate>''<br/> | [[Special:MyLanguage/Application:canOpenUrl|Application:canOpenUrl]] ''<translate>Tests if it is possible to open provided url</translate>''<br/> | ||
[[Special:MyLanguage/Application:configureFrustum|Application:configureFrustum]] ''<translate>Configure the projection for 3D perspective.</translate>''<br/> | [[Special:MyLanguage/Application:configureFrustum|Application:configureFrustum]] ''<translate>Configure the projection for 3D perspective.</translate>''<br/> | ||
Line 49: | Line 49: | ||
[[Special:MyLanguage/Application:vibrate|Application:vibrate]] ''<translate>Application - vibrates the device</translate>''<br/> | [[Special:MyLanguage/Application:vibrate|Application:vibrate]] ''<translate>Application - vibrates the device</translate>''<br/> | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | === Events === | + | === <translate>Events</translate> === |
− | === Constants === | + | === <translate>Constants</translate> === |
[[Special:MyLanguage/Application.LANDSCAPE_LEFT|Application.LANDSCAPE_LEFT]]<br/> | [[Special:MyLanguage/Application.LANDSCAPE_LEFT|Application.LANDSCAPE_LEFT]]<br/> | ||
[[Special:MyLanguage/Application.LANDSCAPE_RIGHT|Application.LANDSCAPE_RIGHT]]<br/> | [[Special:MyLanguage/Application.LANDSCAPE_RIGHT|Application.LANDSCAPE_RIGHT]]<br/> |
Revision as of 07:28, 24 August 2018
Supported platforms: android, ios, mac, pc
Available since: Gideros 2011.6
Description
Application class contains the common functions that's available to the current application. There is a global variable application of type Application to access these functions.
MethodsApplication:canOpenUrl Tests if it is possible to open provided url |
EventsConstantsApplication.LANDSCAPE_LEFT |