简体   繁体   中英

What is the Android equivalent of iOS's XArbitraryZVertical

In iOS, when setting up the motion sensors, a developer can pass in an initialization setting (XArbitraryZVertical) that, essentially, zeros out all of the data from the sensors in it's current position. I am wonder if there is an Android equivalent?

Thank you.

似乎android.hardware.Sensor.TYPE_GAME_ROTATION_VECTOR提供了此功能。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM