I want to get smartphone acceleration sensor values from C ++ in the Unreal Engine

I want to import the smartphone accelerometer value from C ++ to the Unreal Engine, but I do not know how to code it. I would like to use the remote control to move the actors I used when my smartphone was moving, but I do not know. Let me know how to use C ++ with acceleration sensors.

Unreal already has a Tilt event which contains Accelerometer vectors. Why not use that?

How to access it from c++?