publish

open fun publish(event: AnalyticsEvent, errorHandler: IAnalyticsErrorListener): AnalyticsClient

Publishes the specified event to the current set of registered analytics handlers.

Return

the single instance of the Analytics client.

Parameters

event

the event to be published.

errorHandler

optional reference to an object that can handle errors in processing the published analytics event.