Enum TargetPlatform
Identifiers for the target platform.
[TypeConverter(typeof(TargetPlatformTypeConverter))]
public enum TargetPlatform
Fields
Android = 3
Android-based devices (MonoGame)
DesktopGL = 4
All desktop versions using OpenGL. (MonoGame)
MacOSX = 5
Apple Mac OSX-based devices (iMac, MacBook, MacBook Air, etc) (MonoGame)
NativeClient = 7
Google Chrome Native Client (MonoGame)
PlayStation4 = 10
Sony PlayStation4
PlayStation5 = 11
Sony PlayStation5
RaspberryPi = 9
Raspberry Pi (MonoGame)
Stadia = 14
Google Stadia
Switch = 13
Nintendo Switch
Web = 15
WebAssembly and Bridge.NET
Windows = 0
All desktop versions of Windows using DirectX.
WindowsPhone8 = 8
Windows Phone 8 (MonoGame)
WindowsStoreApp = 6
Windows Store App (MonoGame)
Xbox360 = 1
Xbox 360 video game and entertainment system
XboxOne = 12
Xbox One
iOS = 2
Apple iOS-based devices (iPod Touch, iPhone, iPad) (MonoGame)