UBlueprintPlatformLibrary::GetDeviceOrientation

Returns the current orientation of the device: will be either Portrait, LandscapeLeft, PortraitUpsideDown or LandscapeRight.