Kotlin SDK APIs Alpha

Send events by leveraging different Kotlin SDK APIs.

This section walks you through the different APIs provided by the Kotlin SDK:

Event APIs

The Kotlin SDK supports the following standard event APIs in accordance with the RudderStack Event Spec:

APIDescription
TrackTracks user actions along with their associated properties.
IdentifyIdentifies a user and associate them to their actions.
ScreenRecords whenever user views their mobile screen and captures any relevant information about the screen.
GroupLinks an identified user with a group and record any traits associated with that group.
AliasMerges different identities of a known user.
ResetClears the user ID and traits.

Other APIs

In addition to the standard event APIs, the Kotlin SDKs also supports the below APIs for specific use cases:

APIDescription
User Identity APIsRetrieves the user ID, anonymous ID, and user traits persisted by the SDK.
Flush APIManually flushes any events stored in the SDK.
Logging APIsLets you monitor and debug the SDK’s behavior with fine-grained control.
Shutdown APIStops all the operations associated with the SDK and frees up resources.

Questions? Contact us by email or on Slack