Namespaces
ApplicationSettings
Summary
Functions
clear
flush
Flush all changes to disk synchronously.
Returns boolean
getAllKeys
Get all stored keys
Returns string[]
getBoolean
Gets a value (if existing) for a key as a Boolean Object. A default value can be provided in case there is no existing value.
Parameter | Default | Description |
key |
| string The key to check for. |
defaultValue |
| boolean An optional value to be returned in case there is no existing value. |
Returns boolean
getNumber
Gets a value (if existing) for a key as a Number Object. A default value can be provided in case there is no existing value.
Parameter | Default | Description |
key |
| string The key to check for. |
defaultValue |
| number An optional value to be returned in case there is no existing value. |
Returns number
getString
Gets a value (if existing) for a key as a String Object. A default value can be provided in case there is no existing value.
Parameter | Default | Description |
key |
| string The key to check for. |
defaultValue |
| string An optional value to be returned in case there is no existing value. |
Returns string
hasKey
Checks whether such a key exists.
Parameter | Default | Description |
key |
| string The key to check for. |
Returns boolean
remove
Removes a value (if existing) for a key.
Parameter | Default | Description |
key |
| string The key to check for. |
Returns void
setBoolean
Sets a Boolean Object for a key.
Parameter | Default | Description |
key |
| string The key. |
value |
| boolean The value. |
Returns void
setNumber
Sets a Number Object for a key.
Parameter | Default | Description |
key |
| string The key. |
value |
| number The value. |
Returns void
setString
Sets a String Object for a key.
Parameter | Default | Description |
key |
| string The key. |
value |
| string The value. |
Returns void
- Previous
- AccessibilityEvents
- Next
- CSSUtils