MeiroEvents

interface MeiroEvents

Interface for Meiro SDK events

Inheritors

Properties

Link copied to clipboard
abstract val sessionId: String

Current session id

Link copied to clipboard
abstract val userId: String

User id of the current user

Functions

Link copied to clipboard
abstract fun getAudience(): MeiroAudience

Access to MeiroAudience API

Link copied to clipboard
abstract fun init(context: Context, configuration: Configuration, logger: MeiroLogger = MeiroAndroidLogger())

Initialize the SDK

Link copied to clipboard
abstract fun resetIdentity()

Reset the identity of the user

Link copied to clipboard
abstract fun setEnabled(enabled: Boolean)

Enable or disable the SDK

Link copied to clipboard
abstract fun setFcmToken(token: String)

Set the Firebase Cloud Messaging token

Link copied to clipboard
abstract fun trackCustomEvent(properties: Map<String, Any>)

Track a custom event

Link copied to clipboard
abstract fun trackLinkClick(url: String)

Track click on a url

Link copied to clipboard
abstract fun trackScreenView(name: String, properties: Map<String, Any> = emptyMap())

Track a screen view with name and optional [properties