If the device supports it you can use the Gyroscope class to get gyroscopic information about the orientation and acceleration of the device.
Related posts
Add comment
Cancel reply to comment