当使用传感器事件侦听器将方向固定为纵向模式时,检测android设备的方向

时间:2018-07-02 06:03:12

标签: xamarin.android android-sensors android-orientation

当使用传感器事件侦听器将方向固定为纵向模式时,我们能否检测到android设备的方向?

我提到了这个问题: How to detect my screen orientation in portrait locked screen in android?

这里的传感器类型是旋转矢量,但是我无法获取任何Android设备的旋转矢量。它总是给我空值。

0 个答案:

没有答案