Huawei Analytics

class HuaweiAnalytics : DevAnalytics

Huawei Analytics Kit Implementation

Author

Jimly A.

Since

12-Nov-21

Constructors

Link copied to clipboard
fun HuaweiAnalytics()

intance of HuaweiAnalytics

Functions

Link copied to clipboard
open override fun clearData()

method to clear analytics data in the device

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

method to get instance Id of the application

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

method to log Event

Link copied to clipboard
open override 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 override fun setUserProperty(name: String, value: String)

method to ser user's property

Sources

Link copied to clipboard