Skip to content

Commit 726b753

Browse files
authored
Merge pull request #1848 from segmentio/pray/kotlin-fixes
Kotlin source remove outdated config options
2 parents 004cd07 + c129925 commit 726b753

File tree

2 files changed

+0
-7
lines changed
  • src/connections/sources/catalog/libraries

2 files changed

+0
-7
lines changed

src/connections/sources/catalog/libraries/mobile/kotlin-android/index.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ To get started with the Analytics-Kotlin mobile library:
4343
```java
4444
// Create an analytics client with the given application context and Segment write key.
4545
Analytics("YOUR_WRITE_KEY", applicationContext) {
46-
analyticsScope = applicationCoroutineScope
4746
// Automatically track Lifecycle events
4847
trackApplicationLifecycleEvents = true
4948
flushAt = 3
@@ -61,15 +60,12 @@ To get started with the Analytics-Kotlin mobile library:
6160
----------- | -----------
6261
`writeKey` *required* | This is your Segment write key. |
6362
`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. |
6663
`apiHost` | Default set to `api.segment.io/v1`. <br> This sets a default API Host to which Segment sends events. |
6764
`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. |
6865
`collectDeviceId` | Default set to `false`. <br> Set to `true` to automatically collect the device Id. |
6966
`defaultSettings` | Default set to `{}`. <br> The settings object used as fallback in case of network failure. |
7067
`flushAt` | Default set to `20`. <br> The count of events at which Segment flushes events. |
7168
`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. |
7369
`recordScreenViews` | Default set to `false`. <br> Set to `true` to automatically trigger screen events on Activity Start. |
7470
`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. |
7571
`trackApplicationLifecycleEvents` | Default set to `false`. <br> Set to `true` to automatically track Lifecycle events. |

src/connections/sources/catalog/libraries/server/kotlin/index.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,12 @@ To get started with the Analytics-Kotlin server library:
5555
----------- | -----------
5656
`writeKey` *required* | This is your Segment write key. |
5757
`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> The Dispatcher running analytics tasks. |
6058
`apiHost` | Default set to `api.segment.io/v1`. <br> This sets a default API Host to which Segment sends events. |
6159
`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. |
6260
`collectDeviceId` | Default set to `false`. <br> Set to `true` to automatically collect the device Id. |
6361
`defaultSettings` | Default set to `{}`. <br> The settings object used as fallback in case of network failure. |
6462
`flushAt` | Default set to `20`. <br> The count of events at which Segment flushes events. |
6563
`flushInterval` | Default set to `30` (seconds). <br> The interval in seconds at which Segment flushes events. |
66-
`ioDispatcher` | Default set to `Dispatchers.IO`. <br> The Dispatcher running IO tasks. |
6764
`recordScreenViews` | Default set to `false`. <br> Set to `true` to automatically trigger screen events on Activity Start. |
6865
`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. |
6966
`trackApplicationLifecycleEvents` | Default set to `false`. <br> Set to `true` to automatically track Lifecycle events. |

0 commit comments

Comments
 (0)