Dev Analytics

open class DevAnalytics

Base class for Analytics tools

Author

Jimly A.

Since

12-Nov-21

Constructors

Link copied to clipboard
fun DevAnalytics()

Functions

Link copied to clipboard
open fun clearData()

method to clear analytics data in the device

Link copied to clipboard
open fun instanceId(listener: (String) -> Unit)

method to get instance Id of the application

Link copied to clipboard
open fun logEvent(eventName: String, params: Bundle?)

method to log Event

Link copied to clipboard
open fun setUserId(id: String)

method to set user's id, later on this id will be embedded to each event that happens

Link copied to clipboard
open fun setUserProperty(name: String, value: String)

method to ser user's property

Sources

Link copied to clipboard