Get Users Device


Is there a way I can get the device the game is being played on?

for example can I check if the game is played on an Galaxy S4

Kind of hiden away:

FString Model = FAndroidMisc::GetDeviceModel();
FString Model = "Other";

I placed in platfrom #if, because FAndroidMisc code won’t build in other platforms (including Windows, keep that in mind) and you gonna have compiler errors, you need to create code for each platfrom.

iOS have something similar but enum based:

Good info! Deleting my answer…

Great answer thanks!

How I can call this in Blueprint?