Class Index | File Index

Classes


Namespace mmir.Constants


Defined in: constants.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
A Utility class that provides various constants.
Method Summary
Method Attributes Method Name and Description
 
Returns a string with the base path.
<private>  
Constructor-Method of Class Constants
Namespace Detail
mmir.Constants
A Utility class that provides various constants.

Note that the actual values depend on the execution environment (e.g. ANDROID vs. BROWSER). As a consequence the constants object has 2 modes, that can be switchted via the getInstance()-method, e.g. getInstance(false)

var appBase = mmir.Constants.getBasePath();
Requires:
org.apache.cordova.device: cordova plugin add org.apache.cordova.device
Method Detail
{String} Constants#getBasePath()
Returns a string with the base path.
Returns:
{String} base path

<private> constructor(env)
Constructor-Method of Class Constants
Parameters:
env

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Feb 26 2016 21:44:43 GMT+0100 (Mitteleuropäische Zeit)