Skip to content

Commit

Permalink
fix: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Nov 3, 2022
1 parent 457a95d commit ceedf2d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ Capacitor Updator works by unzipping a compiled app bundle to the native device
* [`cancelDelay()`](#canceldelay)
* [`getLatest()`](#getlatest)
* [`setChannel(...)`](#setchannel)
* [`getChannel()`](#getchannel)
* [`addListener('download', ...)`](#addlistenerdownload)
* [`addListener('noNeedUpdate', ...)`](#addlistenernoneedupdate)
* [`addListener('updateAvailable', ...)`](#addlistenerupdateavailable)
Expand Down Expand Up @@ -369,6 +370,21 @@ Set Channel for this device
--------------------


### getChannel()

```typescript
getChannel() => Promise<getChannelRes>
```

get Channel for this device

**Returns:** <code>Promise&lt;<a href="#getchannelres">getChannelRes</a>&gt;</code>

**Since:** 4.8.0

--------------------


### addListener('download', ...)

```typescript
Expand Down Expand Up @@ -641,6 +657,16 @@ removeAllListeners() => Promise<void>
| **`chhanel`** | <code>string</code> |


#### getChannelRes

| Prop | Type | Description | Since |
| -------------- | -------------------- | ----------------------------- | ----- |
| **`channel`** | <code>string</code> | Current status of get channel | 4.8.0 |
| **`error`** | <code>any</code> | | |
| **`status`** | <code>string</code> | | |
| **`allowSet`** | <code>boolean</code> | | |


#### PluginListenerHandle

| Prop | Type |
Expand Down

0 comments on commit ceedf2d

Please sign in to comment.