![]() ![]() ![]() ![]() There is a global variable application of type Application to access these functions.Īpplication:canOpenUrl tests if it is possible to open provided urlĪpplication:checkPermission checks android permissionĪpplication:configureFrustum configures the projection for 3D perspectiveĪpplication:enableDrawInfo shows or hides Gideros info layerĪpplication:enableOnDemandDraw enable or disable on-demand renderingĪpplication:exit terminates the applicationĪpplication:get returns state of desktop settingĪpplication:getApiVersion returns the API versionĪpplication:getAppId returns the app id or bundle idĪpplication:getBackgroundColor returns the background colorĪpplication:getClipboard returns content of the clipboardĪpplication:getContentHeight returns content heightĪpplication:getContentWidth returns content widthĪpplication:getDeviceHeight returns the physical height of the deviceĪpplication:getDeviceWidth returns the physical width of the deviceĪpplication:getDeviceInfo returns information about deviceĪpplication:getDeviceName returns the device nameĪpplication:getDeviceOrientation gets the device orientationĪpplication:getDeviceSafeArea returns the safe display area boundsĪpplication:getFps returns the frame rate of the applicationĪpplication:getKeyboardModifiers returns the current keyboard modifiersĪpplication:getLanguage returns the user languageĪpplication:getLocale returns the device localeĪpplication:getLogicalBounds returns the physical screen bounds in logical spaceĪpplication:getLogicalHeight returns the logical height of the applicationĪpplication:getLogicalWidth returns the logical width of the applicationĪpplication:getLogicalScaleX returns the scaling of automatic screen scaling on the x-axisĪpplication:getLogicalScaleY returns the scaling of automatic screen scaling on the y-axisĪpplication:getLogicalTranslateX returns the translation of automatic screen scaling on the x-axisĪpplication:getLogicalTranslateY returns the translation of automatic screen scaling on the y-axisĪpplication:getNativePath returns the system path for a given resourceĪpplication:getOrientation returns the orientation of the applicationĪpplication:getScaleMode returns the automatic scale mode of the applicationĪpplication:getScreenDensity returns the screen density in pixels per inchĪpplication:getTextureMemoryUsage returns the texture memory usage in KbytesĪpplication:isPlayerMode checks if app runs on playerĪpplication:openUrl opens the given URL in the appropriate applicationĪpplication:requestPermissions requests an android permissionĪpplication:set sets state of desktop settingsĪpplication:setBackgroundColor sets the background colorĪpplication:setClipboard stores data to the clipboardĪpplication:setEventMerging allows merging of touch/mouse move eventsĪpplication:setFps sets the frame rate of the applicationĪpplication:setFullScreen full screen or window modeĪpplication:setKeepAwake enables/disables screen dimming and device sleepingĪpplication:setKeyboardVisibility sets the keyboard visibilityĪpplication:setLogicalDimensions sets the logical dimensions of the applicationĪpplication:setOrientation sets the orientation of the applicationĪpplication:setScaleMode sets the automatic scale mode of the applicationĪpplication:setTextInput sets the IME of the android keyboardĪpplication:setWindowSize sets desktop window to a specific sizeĪpplication.Particle Candy is a striking, top-notch extension that impressively shows what you can do with Corona®. The Application class contains the common functions that are available to the current application.
0 Comments
Leave a Reply. |