Difference between revisions of "Application"
m (→Events) |
|||
Line 60: | Line 60: | ||
=== <translate>Events</translate> === | === <translate>Events</translate> === | ||
+ | [[APPLICATION_START]] | ||
[[APPLICATION_RESIZE]] | [[APPLICATION_RESIZE]] | ||
+ | [[APPLICATION_SUSPEND]] | ||
+ | [[APPLICATION_EXIT]] | ||
+ | [[APPLICATION_RESUME]] | ||
=== <translate>Constants</translate> === | === <translate>Constants</translate> === |
Revision as of 11:00, 25 October 2019
Supported platforms:
Available since: Gideros 2011.6
Inherits from: Object
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 Application:getFps returns the frame rate of the application Application:getOrientation returns the orientation of the application |
EventsAPPLICATION_START APPLICATION_RESIZE APPLICATION_SUSPEND APPLICATION_EXIT APPLICATION_RESUME ConstantsApplication.LANDSCAPE_LEFT |