Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 886
Seth Hikari Avatar asked Apr 13 '11 05:04

Seth Hikari


2 Answers

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

like image 85
Anthony W Avatar answered Nov 02 '22 23:11

Anthony W


here is a link to latest flurry documentation

http://support.flurry.com/sdkdocs/android/classcom_1_1flurry_1_1android_1_1_flurry_agent.html

like image 26
AZ_ Avatar answered Nov 02 '22 23:11

AZ_