Support

PreferenceAPI

Summary
Constructor Attributes Constructor Name and Description
 
provide access to preferences
Method Summary
Method Attributes Method Name and Description
 
 
getPreference(pref, def)
returns the desired preference
 
setPreference(pref, value)
sets the desired preference
Detail
PreferenceAPI()
provide access to preferences
Methods

getCollection()

version:

Params
Returns

getPreference(pref, def)

version:

returns the desired preference

Params
{string} pref - the name of the preference to retrieve. {object} def - the default value to use for this preference if the preference is not defined.
Returns

setPreference(pref, value)

version:

sets the desired preference

Params
{string} pref - the name of the preference to retrieve. {object} value - the default value to use for this preference.
Returns