Search code examples
javaandroidflurry

Difference between FlurryAgent.logEvent and FlurryAgent.onEvent


What is the difference between FlurryAgent.logEvent and FlurryAgent.onEvent?

I could not find any documentation on these.


Solution

  • onEvent is deprecated and you should use logEvent in its place. logEvent also introduced two new overridden methods to allow you to track timed events (not available for onEvent):

    • logEvent(String eventId, boolean timed)
    • logEvent(String eventId, Map parameters, boolean timed)

    Start Edit

    To end a timed event use:

    • endTimedEvent(String eventId)

    End Edit

    We will be improving our documentation in the near future so that it is easier to find the answers to these types of questions. Thanks for choosing Flurry.

    R,

    Anthony