TargetPlatform Enum
Definition
Caution
This API is now obsolete.
Indicates the kind of OS Xamarin.Forms is currently working on.
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete]
public enum TargetPlatform
type TargetPlatform =
- Inheritance
-
TargetPlatform
- Attributes
Fields
Android | 2 | Indicates that Xamarin.Forms is running on a Google Android OS. |
iOS | 1 | Indicates that Xamarin.Forms is running on an Apple iOS OS. |
Other | 0 | (Unused) Indicates that Xamarin.Forms is running on an undefined platform. |
Windows | 4 | Indicates that forms is running on the Windows platform. |
WinPhone | 3 | Indicates that Xamarin.Forms is running on a Microsoft WinPhone OS. |