public static bool isMobilePlatform ;

Description

Is the current Runtime platform a known mobile platform.

Currently this returns true if the app is running on Android, iOS or WSA.
Note: On Universal Windows Platform tablets are treated as desktop machines, so this property returns true only when running on phones and IoT device family devices.