Skip to content

Commit

Permalink
docs(analytics): docgen and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
johnborges committed Sep 14, 2021
1 parent 03f5d1f commit 0a0f078
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions appcenter-analytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 0.3.0

* add support for Android

## 0.2.1

* Update `Appcenter/Analytics` to 4.2.0
Expand Down
14 changes: 7 additions & 7 deletions appcenter-analytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Once you add App Center Analytics to your app and the SDK is started, it will au

<docgen-index>

* [`enable(...)`](#enable)
* [`setEnabled(...)`](#setenabled)
* [`isEnabled()`](#isenabled)
* [`pause()`](#pause)
* [`resume()`](#resume)
Expand All @@ -52,19 +52,19 @@ Once you add App Center Analytics to your app and the SDK is started, it will au
<docgen-api>
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->

### enable(...)
### setEnabled(...)

```typescript
enable(options: { enableFlag: boolean; }) => Promise<void>
setEnabled(options: { enable: boolean; }) => Promise<void>
```

You can enable and disable App Center Analytics at runtime. If you disable it, the SDK won't collect any more analytics information for the app.

| Param | Type |
| ------------- | ------------------------------------- |
| **`options`** | <code>{ enableFlag: boolean; }</code> |
| Param | Type |
| ------------- | --------------------------------- |
| **`options`** | <code>{ enable: boolean; }</code> |

**Since:** 0.1.0
**Since:** 0.3.0

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

Expand Down

0 comments on commit 0a0f078

Please sign in to comment.