Class com.gContactSync.Pref
Defined in: Pref.js.
Constructor Attributes | Constructor Name and Description |
---|---|
com.gContactSync.Pref(aName, aType, aDefault)
A simple class to store information about a preference (label, type, default
value and the actual value).
|
Class Detail
com.gContactSync.Pref(aName, aType, aDefault)
A simple class to store information about a preference (label, type, default
value and the actual value). Set the value after creating the pref.
- Parameters:
- aName
- {string} The label (or name) of the preference.
- aType
- {string} The type of preference (bool, int, or char).
- aDefault
- {object} The default value for the preference.