75 lines
653 B
Markdown
75 lines
653 B
Markdown
---
|
|
id: settings
|
|
title: Settings
|
|
layout: docs
|
|
category: APIs
|
|
permalink: docs/settings.html
|
|
next: share
|
|
previous: pushnotificationios
|
|
---
|
|
|
|
|
|
|
|
### Methods
|
|
|
|
- [`get`](docs/settings.html#get)
|
|
- [`set`](docs/settings.html#set)
|
|
- [`watchKeys`](docs/settings.html#watchkeys)
|
|
- [`clearWatch`](docs/settings.html#clearwatch)
|
|
|
|
|
|
### Properties
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
# Reference
|
|
|
|
## Methods
|
|
|
|
### `get()`
|
|
|
|
```javascript
|
|
Settings.get(key)
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
### `set()`
|
|
|
|
```javascript
|
|
Settings.set(settings)
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
### `watchKeys()`
|
|
|
|
```javascript
|
|
Settings.watchKeys(keys, callback)
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
### `clearWatch()`
|
|
|
|
```javascript
|
|
Settings.clearWatch(watchId)
|
|
```
|
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
|
|