Access phone magnetometer (compass)

Hello!
Is it possible to access phone magnetometer via C++ or blueprint? I am planning to make compass-like app on Android, so I’d like to get this data.
Thanks in advance.

Hello,

Sorry to dig up this old question but I would like to contribute an answer for the future readers.
The Magnetic Field Toolkit plugin on the Unreal Engine marketplace exposes the magnetometer sensor of Android platforms to Blueprints for the first time.

Hope this helps you all,

Fen