LibGDX-检查compas是否需要校准

问题描述 投票:0回答:1

如何检查LibGDX中指南针是否已正确校准(在Android上)。我已经找到了在本地Android上的方法:

In Android can I programmatically detect that the compass is not yet calibrated?

但是无法找到它是否在LibGDX中实现。

libgdx compass-geolocation calibration
1个回答
0
投票

您想要的内容在Wiki文章Interfacing with platform specific code中进行了描述。 LibGDX没有任何功能,因为它不常见并且对于其他后端也没有任何意义。

© www.soinside.com 2019 - 2024. All rights reserved.