string getKioProperty(string)
Returns a value for a specified property in KioWare.
Security
Trust Level Required: Low trust
Parameters
Name | Description |
kiowareproperty |
string The name of the KioWare property to retrieve. |
Return
The value of the property, or null if the property name is invalid.
Remarks
If the property name is invalid, then null is returned. The property name must be one of:
Name | Description |
StartPage | Returns the Start Page URL. [Added in 2.0] |
SVNRev | Returns the value of RevisionString (see getBuildDetails()) [Added in 2.0] |
Site | Returns the site name configured for this kiosk. [Added in 2.0] |
Kiosk | Returns the kiosk name configured for this kiosk. [Added in 2.0] |
Unit | Returns the unit name configured for this kiosk. [Added in 2.0] |
VersionName | Returns the app versionName for the currently running version of KioWare. [Added in 3.14] |
Examples
var kioskName = KioWareUtils.getKioProperty('Kiosk');
var unitName = KioWareUtils.getKioProperty('Unit');
alert('Kiosk/Unit: ' + kioskName + '/' + unitName);
Requirements
KioWare for Android version 2.0 or greater.