Changes

Settings

429 bytes added, 08:18, 8 July 2015
== List of Available settings ==
There are two types of settings in UBIK client: [[Global Settings]] and [[User Specific Settings]]{{Version/AndroidSince|2.5.0}}
=== Global All users have at least access to all settings ===statet in [[List of settings]]. Additional settings, namely the [[AR settings]] or [[Demo settings]] are only available if the regarding plugin is part of the application built. The former system of global settings and user-specific settings is refactored to use only user-specific settings.
=== List of settings === The [[Global Settings]] basic stock of settings include the following
{| class="wikitable" | width = "75%"
|-
| ''MemoryUsage''|| Whether {{UBIK}} should [[Memory Usage (Android)|lazy load]] or [[Memory Usage (Android)|eager load]] all the content. Available since {{Version/Android|2.4.0}}
|-
|}
 
=== User specific settings ===
 
The [[User Specific Settings]] include the following
 
{| class="wikitable" | width = "75%"
|-
! Name!! Purpose
|-
| ''Protocol''|| The protocol to use for data communication over the Internet (e.g.: HTTPS)
|-
| ''ShowSystemProperties''|| If set to true, all properties will be displayed; otherwise, only the ones that are marked as [[METACLASSSCOPE#Visibility|visible]].
|-
|}
 
Additionally, there are special cases of [[User Specific Settings]] that are available/visible before users login, to open the possibility of configuring the web service URL before logging in. These include the following
 
{| class="wikitable" | width = "75%"
|-
! Name!! Purpose
|-
| ''UBIKContextName''|| The {{UBIK}} [[CONTEXT]] name
|-
|}
 
These settings have the following characteristics that differs them from other user specific settings
* available and editable before and after the login.
* carry the value "change if needed" initially before login, to indicate to the user that this setting doesn't need to be set if it already has a previously saved value.
=== AR settings ===
|-
|}
 
== Characteristics of settings ==
 
Settings have the following characteristics and behavior within the application:
* Available and editable before and after the login.
* Changes done before login are applied to the next user who attempts to login.
** This goes for applying presets as well.
** After applying a preset, changes of settings are also taken into account.
** The settings defined are not just used by the user as new settings, but they are merged with the settings the user already has, and are overriding them.
* Changes after login are saved for every user. After logout and new login, they are restored, merged with the settings changed before login if there are some and finally they get applied to the user.
* If a completely new user attempts to login without defining settings before or loading a preset, the initial values of the settings as defined in the constants.xml are used.
== PreSet actions ==
The {{key press|Save PreSet}} button that is only available after login, can be used to [[HowTo:Save Settings as Presets]].
[[Category:Client|Settings]]
166
edits