Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages.
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 | | stringThe key to check for. |
defaultValue | | booleanAn 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 | | stringThe key to check for. |
defaultValue | | numberAn 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 | | stringThe key to check for. |
defaultValue | | stringAn 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 | | stringThe key to check for. |
Returns boolean
remove
Removes a value (if existing) for a key.
| Parameter | Default | Description |
key | | stringThe key to check for. |
Returns void
setBoolean
Sets a Boolean Object for a key.
| Parameter | Default | Description |
key | | stringThe key. |
value | | booleanThe value. |
Returns void
setNumber
Sets a Number Object for a key.
| Parameter | Default | Description |
key | | stringThe key. |
value | | numberThe value. |
Returns void
setString
Sets a String Object for a key.
| Parameter | Default | Description |
key | | stringThe key. |
value | | stringThe value. |
Returns void
- Previous
- AccessibilityEvents
- Next
- CSSUtils