axmol/cocos/scripting/lua-bindings/auto/api/Application.lua

58 lines
1.8 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module Application
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
-- brief Get target platform
-- @function [parent=#Application] getTargetPlatform
2014-03-10 14:04:58 +08:00
-- @param self
-- @return int#int ret (return value: int)
2014-03-10 14:04:58 +08:00
--------------------------------
-- brief Get current language config<br>
-- return Current language config
2014-03-10 14:04:58 +08:00
-- @function [parent=#Application] getCurrentLanguage
-- @param self
-- @return int#int ret (return value: int)
2014-03-10 14:04:58 +08:00
--------------------------------
-- brief Get current language iso 639-1 code<br>
-- return Current language iso 639-1 code
-- @function [parent=#Application] getCurrentLanguageCode
-- @param self
-- @return char#char ret (return value: char)
--------------------------------
-- brief Open url in default browser<br>
-- param String with url to open.<br>
-- return true if the resource located by the URL was successfully opened; otherwise false.
-- @function [parent=#Application] openURL
-- @param self
-- @param #string url
-- @return bool#bool ret (return value: bool)
--------------------------------
-- brief Get application version.
-- @function [parent=#Application] getVersion
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @overload self, float, int
-- @overload self, float
-- @function [parent=#Application] setAnimationInterval
-- @param self
-- @param #float interval
-- @param #int reason
-- @return Application#Application self (return value: cc.Application)
2014-03-10 14:04:58 +08:00
--------------------------------
-- brief Get current application instance.<br>
-- return Current application instance pointer.
2014-03-10 14:04:58 +08:00
-- @function [parent=#Application] getInstance
-- @param self
-- @return Application#Application ret (return value: cc.Application)
return nil