我正在为Android TV开发一个应用程序是否有可能知道我的应用程序在哪个电视上运行或者对它执行了什么操作?
谢谢。
要查看您应用支持的设备:
更多信息:https://support.google.com/googleplay/android-developer/answer/7353455
要跟踪在您的应用上执行的操作,您可以使用Fabric的Answers插件。以下是您需要在代码中添加的示例代码,以跟踪Answers中的事件:
public void onKeyMetric() {
// TODO: Use your own string attributes to track common values over time
// TODO: Use your own number attributes to track median value over time
Answers.getInstance().logCustom(new CustomEvent("Video Played")
.putCustomAttribute("Category", "Comedy")
.putCustomAttribute("Length", 350));
}