AppPreference
Static Methods
getValue
25.0string
Get preference value in native string form
Parameters
Name | Type | Description |
---|---|---|
preferenceKey | App preference key to get |
setValue
25.0boolean
Set backend preference using given list of property keys. The parameters are <key, value (number, boolean or string), persistence flag>
Parameters
Name | Type | Description |
---|---|---|
key | App preference key to set | |
value | boolean or string or number | Value to set for the preference key |
persistenceFlag | Indicates whether the preference should be persisted or not |