2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Application
|
2014-07-02 10:15:26 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-09-25 14:50:06 +08:00
|
|
|
-- brief Get target platform
|
|
|
|
-- @function [parent=#Application] getTargetPlatform
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-09-25 14:50:06 +08:00
|
|
|
-- @return int#int ret (return value: int)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +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
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @return int#int ret (return value: int)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
2014-09-25 14:50:06 +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)
|
|
|
|
|
2015-11-11 14:53:45 +08:00
|
|
|
--------------------------------
|
|
|
|
-- 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)
|
|
|
|
|
2014-03-21 16:38:19 +08:00
|
|
|
--------------------------------
|
2017-06-05 13:37:50 +08:00
|
|
|
-- @overload self, float, int
|
|
|
|
-- @overload self, float
|
|
|
|
-- @function [parent=#Application] setAnimationInterval
|
2014-03-21 16:38:19 +08:00
|
|
|
-- @param self
|
2015-07-06 16:29:03 +08:00
|
|
|
-- @param #float interval
|
2017-06-05 13:37:50 +08:00
|
|
|
-- @param #int reason
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return Application#Application self (return value: cc.Application)
|
2017-06-05 13:37:50 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +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
|