commonMain.com.myunidays.segmenkt.Analytics.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Segmenkt Show documentation
Show all versions of Segmenkt Show documentation
Kotlin Multiplatform Wrapper for Segment
The newest version!
package com.myunidays.segmenkt
expect class Analytics {
companion object {
fun setup(configuration: Configuration): Analytics
fun shared(context: Any? = null): Analytics
}
fun track(name: String, properties: Map? = null, options: Map? = null)
fun identify(userId: String?, traits: Map? = null, options: Map? = null)
fun alias(userId: String, options: Map? = null)
fun screen(screenTitle: String, properties: Map? = null, options: Map? = null)
fun group(groupId: String, traits: Map? = null, options: Map? = null)
fun optOut(status: Boolean)
fun reset()
}