GlideSystem - getPreference(String key, Object default)

Gets a user preference.

Table 1. Parameters
Name Type Description
key String The key for the preference
default Object The default value
Table 2. Returns
Type Description
String The preference. If no preference, returns the specified default value.