android-management-api - Android Management API /devices 是否有延迟
问题描述
我们目前在使用 google api 时遇到问题:
https://androidmanagement.googleapis.com/v1/enterprises/ <our_enterprise>/devices/<device_name>
此 API 返回有关指定设备的信息,包括有关其应用程序的信息。我们注意到 api 返回给我们的是我们的一部手机之间的区别。我们的手机有一个更新的应用程序(21.05),但 api 总是返回以前的版本(21.01)。这对于手机的支持是有问题的,因为我们无法获得手机上安装的应用程序的可靠和即时信息。你知道这个 api 是否有延迟时间来返回正确的数据,或者它是否是一个错误?
真挚地。阿德里安。
解决方案
As tested, there is latency time to return the data when getting application reports. I am unable to determine the exact delay time.
Currently, there is no concrete way to easily get the application reports at the exact time. However, if there is an update in the policy, then query an application report, the updated application report can be acquired. I suggest that you update a policy that will not directly affect your device and then query the report.
Please refer to this link for additional information.
推荐阅读
- python - Python:根据 IF 语句输出,在自身之外执行不同的代码
- android - 当我在个人资料片段活动上按下我的可点击文本时,我的应用程序不断崩溃
- abaqus - 在 Abaqus/CAE 中网格化微观结构
- java - 如何在 Mono 中抛出另一个异常?
- c# - 如何在 SQL Server CE 中编写查询以在更新前检查数据?
- sql-server - 如何使用 SMO 在存储过程中调用 c# 函数?
- sql-server - MSSQL,实体框架数据透视
- javascript - 从 Chrome 存储中插入 CSS
- amazon-redshift - 在查询编辑器中执行多条语句
- c++ - AppImage:当部署在另一个系统中时,它是使用捆绑在其中的 .so 文件还是分布式系统中存在的文件?