addEvent

abstract fun addEvent(event: CustomEvent): Error?

Adds custom event to be published by the analytics reporting system.

Parameters

event

The CustomEvent instance. NOTE: In order to conform to the existing reporting scheme the event name should be provided in the lower case format and words should be separated by the underscore character e.g."playback_request"

return Error instance if the library already handles the event.