Application:getProjectProperties
From GiderosMobile
Revision as of 19:49, 15 December 2023 by MoKaLux (talk | contribs) (Created page with "'''Available since:''' Gideros 2023.12<br/> '''Class:''' Application<br/> === Description === Returns the properties of the project. <syntaxhighlight lang="lua"> (table)...")
Available since: Gideros 2023.12
Class: Application
Description
Returns the properties of the project.
(table) = application:getProjectProperties()
The returned values are:
- buildTime (number)
- buildNumber (number)
- version (number)
- name (string)
- versionCode (number)
Return values
Returns (table) a table with the project properties
Example
local prop = application:getProjectProperties()
local buildTime, buildNumber, version, name, versionCode =
prop.buildTime, prop.buildNumber, prop.version, prop.name, prop.versionCode
local pdate = os.date("*t", buildTime)
print(pdate.year, pdate.month, pdate.day, pdate.min, pdate.sec)
print(buildNumber, version, name, versionCode)
- Application:applyStyles
- Application:canOpenUrl
- Application:checkPermission
- Application:configureFrustum
- Application:enableDrawInfo
- Application:enableOnDemandDraw
- Application:exit
- Application:get
- Application:getApiVersion
- Application:getAppId
- Application:getBackgroundColor
- Application:getClipboard
- Application:getContentHeight
- Application:getContentWidth
- Application:getDeviceHeight
- Application:getDeviceInfo
- Application:getDeviceName
- Application:getDeviceOrientation
- Application:getDeviceSafeArea
- Application:getDeviceWidth
- Application:getFps
- Application:getKeyboardModifiers
- Application:getLanguage
- Application:getLocale
- Application:getLogicalBounds
- Application:getLogicalHeight
- Application:getLogicalScaleX
- Application:getLogicalScaleY
- Application:getLogicalTranslateX
- Application:getLogicalTranslateY
- Application:getLogicalWidth
- Application:getNativePath
- Application:getOrientation
- Application:getProjectProperties
- Application:getScaleMode
- Application:getScreenDensity
- Application:getTextureMemoryUsage
- Application:isPlayerMode
- Application:openUrl
- Application:requestPermissions
- Application:set
- Application:setBackgroundColor
- Application:setClipboard
- Application:setEventMerging
- Application:setFps
- Application:setFullScreen
- Application:setKeepAwake
- Application:setKeyboardVisibility
- Application:setLogicalDimensions
- Application:setOrientation
- Application:setScaleMode
- Application:setTextInput
- Application:setWindowSize
- Application:vibrate