Flurry - timed event questions

爷,独闯天下 提交于 2019-12-24 01:18:51

问题


I have some questions related to timed events from Flurry:

1). If I'm using logEvent (String eventId, boolean timed) to log a timed event and never call endTimedEvent(String), what will happen with this event ? Will it ever be logged - maybe at the end of the session ?

2). If I call once logEvent (String eventId, boolean timed) and twice endTimedEvent(String) what will happen with the second endTimedEvent call?


回答1:


According to Flurry iOS 4.3.0 documentation:

If the app is backgrounded prior to ending a timed event, the Flurry SDK will automatically end the timer on the event. endTimedEvent:withParameters: is ignored if called on a previously terminated event.




回答2:


You should make a temporary event and try both of these. I assume that the first event will not get logged if the event is never ended. Similarly, I'd guess that the second event would only be logged once and not twice.



来源:https://stackoverflow.com/questions/19360722/flurry-timed-event-questions

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!