DefaultAnalyticsHandler

Functions

Link copied to clipboard
open fun getInstance(context: Context): DefaultAnalyticsHandler
Provides reference to the single instance of DefaultAnalyticsHandler.
Link copied to clipboard
Sets the listener that can receive callback notifications from this instance before and after processing an event.
Link copied to clipboard
open fun onAnalyticsEvent(event: AnalyticsEvent, errorHandler: IAnalyticsErrorListener)
This method will be called by the AnalyticsClient, when an analytics event is received from the application.
Link copied to clipboard
open fun onAttached()
This method will be invoked when the handler is added to a network client.
Link copied to clipboard
open fun onNetworkEntitlementChanged(type: Int, enabled: Boolean)
This method will be called when the entitlement for specific network has been changed.
Link copied to clipboard
open fun onRemoved()
This method will be invoked when the handler is removed from a network client.
Link copied to clipboard
Sets the listener that can receive callback notifications from this instance before and after processing an event.