diff --git a/src/connections/sources/catalog/libraries/mobile/kotlin-android/index.md b/src/connections/sources/catalog/libraries/mobile/kotlin-android/index.md index cb3be3c5d5..2090233ab9 100644 --- a/src/connections/sources/catalog/libraries/mobile/kotlin-android/index.md +++ b/src/connections/sources/catalog/libraries/mobile/kotlin-android/index.md @@ -43,7 +43,6 @@ To get started with the Analytics-Kotlin mobile library: ```java // Create an analytics client with the given application context and Segment write key. Analytics("YOUR_WRITE_KEY", applicationContext) { - analyticsScope = applicationCoroutineScope // Automatically track Lifecycle events trackApplicationLifecycleEvents = true flushAt = 3 @@ -61,15 +60,12 @@ To get started with the Analytics-Kotlin mobile library: ----------- | ----------- `writeKey` *required* | This is your Segment write key. | `application` | Default set to `null`.
The application specific object (in the case of `Android: ApplicationContext`). - `analyticsScope` | Default set to `MainScope()`.
The `CoroutineScope` where all analytics coroutines run. | - `analyticsDispatcher` | Default set to `Executors.newSingleThreadExecutor()`.
The Dispatcher running analytics tasks. | `apiHost` | Default set to `api.segment.io/v1`.
This sets a default API Host to which Segment sends events. | `autoAddSegmentDestination` | Default set to `true`.
This automatically adds the Segment Destination plugin. You can set this to `false` if you want to manually add the Segment Destination plugin. | `collectDeviceId` | Default set to `false`.
Set to `true` to automatically collect the device Id. | `defaultSettings` | Default set to `{}`.
The settings object used as fallback in case of network failure. | `flushAt` | Default set to `20`.
The count of events at which Segment flushes events. | `flushInterval` | Default set to `30` (seconds).
The interval in seconds at which Segment flushes events. | - `ioDispatcher` | Default set to `Dispatchers.IO`.
The Dispatcher running IO tasks. | `recordScreenViews` | Default set to `false`.
Set to `true` to automatically trigger screen events on Activity Start. | `storageProvider` | Default set to `ConcreteStorageProvider`.
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. | `trackApplicationLifecycleEvents` | Default set to `false`.
Set to `true` to automatically track Lifecycle events. | diff --git a/src/connections/sources/catalog/libraries/server/kotlin/index.md b/src/connections/sources/catalog/libraries/server/kotlin/index.md index 90850e7fc3..387b611486 100644 --- a/src/connections/sources/catalog/libraries/server/kotlin/index.md +++ b/src/connections/sources/catalog/libraries/server/kotlin/index.md @@ -55,15 +55,12 @@ To get started with the Analytics-Kotlin server library: ----------- | ----------- `writeKey` *required* | This is your Segment write key. | `application` | Default set to `null`.
The application specific object (in the case of `Android: ApplicationContext`). - `analyticsScope` | Default set to `MainScope()`.
The `CoroutineScope` where all analytics coroutines run. | - `analyticsDispatcher` | Default set to `Executors.newSingleThreadExecutor()`.
The Dispatcher running analytics tasks. | `apiHost` | Default set to `api.segment.io/v1`.
This sets a default API Host to which Segment sends events. | `autoAddSegmentDestination` | Default set to `true`.
This automatically adds the Segment Destination plugin. You can set this to `false` if you want to manually add the Segment Destination plugin. | `collectDeviceId` | Default set to `false`.
Set to `true` to automatically collect the device Id. | `defaultSettings` | Default set to `{}`.
The settings object used as fallback in case of network failure. | `flushAt` | Default set to `20`.
The count of events at which Segment flushes events. | `flushInterval` | Default set to `30` (seconds).
The interval in seconds at which Segment flushes events. | - `ioDispatcher` | Default set to `Dispatchers.IO`.
The Dispatcher running IO tasks. | `recordScreenViews` | Default set to `false`.
Set to `true` to automatically trigger screen events on Activity Start. | `storageProvider` | Default set to `ConcreteStorageProvider`.
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. | `trackApplicationLifecycleEvents` | Default set to `false`.
Set to `true` to automatically track Lifecycle events. |