How do I get the DPI of the the screen the game is being run on?

I am trying to create a mobile game that involves swipe input, and I would like the physical ‘swipe distance’ to be the same across all devices/resolutions.

I know unity has a method called Screen.dpi, and was wondering if UE4 has something similar?