AirPods Pro Motion API?

Hi, I read that there was announced a Motion API for AirPods Pro with iOS 14. Could someone point me to the docs for that?
Answered by hturan in 616332022
It's under CoreMotion, called CMHeadphoneMotionManager (docs here).

For what it's worth, it doesn't look like it currently works (see https://developer.apple.com/forums/thread/650051 ) and I'm not seeing any noise from the community about getting it returning data. I've filed radar FB7771582 to track, but let me know if you get it working!
Accepted Answer
It's under CoreMotion, called CMHeadphoneMotionManager (docs here).

For what it's worth, it doesn't look like it currently works (see https://developer.apple.com/forums/thread/650051 ) and I'm not seeing any noise from the community about getting it returning data. I've filed radar FB7771582 to track, but let me know if you get it working!
Thank you so much for that, @hturan :-)

The AirPods Motion API is fully functional using CMHeadphoneMotionManager. I've made a quick Xcode project showing the API in use if helpful: https://github.com/PallavAg/AirPodsMotionAPI

AirPods Pro Motion API?
 
 
Q