应用程序在后台运行时的参与时间计算 [英] Engagement Time Calculation When App Is In Background
问题描述
当我的应用程序在后台运行时,如何计算参与时间.当应用程序处于前台状态时,会定期计算用户参与度(firebase自动收集的事件). 但是,当我的应用程序处于后台时,如何增加用户参与的时间.或者我需要检测其他事件. 有任何想法吗??
How to calculate engagement time whenever my app is in background. User engagement (firebase automatically collected event) calculate periodically, while the app is in the foreground. But how to add the time in user engagement when my app is in back ground. Or i need to instrument other event.. Any Idea????
推荐答案
当您的应用程序在后台运行时,用户根本不会参与"该应用程序.使用较新版本的Android,操作系统可能会随时在没有警告的情况下立即杀死您的后台应用程序,因此,计算有意义的后台时间指标甚至更加困难.在我看来,就分析而言,背景时间几乎是毫无意义的指标. 背景时间在Firebase性能监控中很有用,但是应用性能在这方面与分析不同.
When your app is in the background, the user isn't "engaged" with it at all. With newer versions of Android, the OS may immediately kill your backgrounded app at any time without warning, so it's even more difficult to calculate a meaningful metric for background time. It seems to me that background time is a mostly meaningless metric, in terms of analytics. Background time has a use in Firebase Performance Monitoring, but app performance in this respect isn't the same as analytics.
这篇关于应用程序在后台运行时的参与时间计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!