You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connections/sources/catalog/libraries/mobile/kotlin-android/index.md
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,6 @@ To get started with the Analytics-Kotlin mobile library:
43
43
```java
44
44
// Create an analytics client with the given application context and Segment write key.
45
45
Analytics("YOUR_WRITE_KEY", applicationContext) {
46
-
analyticsScope = applicationCoroutineScope
47
46
// Automatically track Lifecycle events
48
47
trackApplicationLifecycleEvents = true
49
48
flushAt = 3
@@ -61,15 +60,12 @@ To get started with the Analytics-Kotlin mobile library:
61
60
----------- | -----------
62
61
`writeKey` *required* | This is your Segment write key. |
63
62
`application` | Default set to `null`. <br> The application specific object (in the case of `Android: ApplicationContext`).
64
-
`analyticsScope` | Default set to `MainScope()`. <br> The `CoroutineScope` where all analytics coroutines run. |
65
-
`analyticsDispatcher` | Default set to `Executors.newSingleThreadExecutor()`. <br> The Dispatcher running analytics tasks. |
66
63
`apiHost` | Default set to `api.segment.io/v1`. <br> This sets a default API Host to which Segment sends events. |
67
64
`autoAddSegmentDestination` | Default set to `true`. <br> This automatically adds the Segment Destination plugin. You can set this to `false` if you want to manually add the Segment Destination plugin. |
68
65
`collectDeviceId` | Default set to `false`. <br> Set to `true` to automatically collect the device Id. |
69
66
`defaultSettings` | Default set to `{}`. <br> The settings object used as fallback in case of network failure. |
70
67
`flushAt` | Default set to `20`. <br> The count of events at which Segment flushes events. |
71
68
`flushInterval` | Default set to `30` (seconds). <br> The interval in seconds at which Segment flushes events. |
72
-
`ioDispatcher` | Default set to `Dispatchers.IO`. <br> The Dispatcher running IO tasks. |
73
69
`recordScreenViews` | Default set to `false`. <br> Set to `true` to automatically trigger screen events on Activity Start. |
74
70
`storageProvider` | Default set to `ConcreteStorageProvider`. <br> The provider for storage class. It’s best not to modify this as it can disrupt your storage logic and you won’t be able to correctly store events. |
75
71
`trackApplicationLifecycleEvents` | Default set to `false`. <br> Set to `true` to automatically track Lifecycle events. |
Copy file name to clipboardExpand all lines: src/connections/sources/catalog/libraries/server/kotlin/index.md
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,15 +55,12 @@ To get started with the Analytics-Kotlin server library:
55
55
-----------|-----------
56
56
`writeKey` *required*|This is your Segment write key. |
57
57
`application` |Default set to `null`.<br>The application specific object (in the case of `Android:ApplicationContext`).
58
-
`analyticsScope` |Default set to `MainScope()`.<br>The `CoroutineScope` where all analytics coroutines run. |
59
-
`analyticsDispatcher` |Default set to `Executors.newSingleThreadExecutor()`.<br>TheDispatcher running analytics tasks. |
60
58
`apiHost` |Default set to `api.segment.io/v1`.<br>This sets a defaultAPIHost to which Segment sends events. |
61
59
`autoAddSegmentDestination` |Default set to `true`.<br>This automatically adds the SegmentDestination plugin. You can set this to `false` if you want to manually add the SegmentDestination plugin. |
62
60
`collectDeviceId` |Default set to `false`.<br>Set to `true` to automatically collect the device Id. |
63
61
`defaultSettings` |Default set to `{}`.<br>The settings object used as fallback in case of network failure. |
64
62
`flushAt` |Default set to `20`.<br>The count of events at which Segment flushes events. |
65
63
`flushInterval` |Default set to `30` (seconds).<br>The interval in seconds at which Segment flushes events. |
66
-
`ioDispatcher` |Default set to `Dispatchers.IO`.<br>TheDispatcher running IO tasks. |
67
64
`recordScreenViews` |Default set to `false`.<br>Set to `true` to automatically trigger screen events on ActivityStart. |
68
65
`storageProvider` |Default set to `ConcreteStorageProvider`.<br>The provider for storage class. It’s best not to modify this as it can disrupt your storage logic and you won’t be able to correctly store events. |
69
66
`trackApplicationLifecycleEvents` |Default set to `false`.<br>Set to `true` to automatically track Lifecycle events. |
0 commit comments