DevicePlatform Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The device platform that the application is running on.
public struct DevicePlatform : IEquatable<Xamarin.Essentials.DevicePlatform>
[System.Runtime.CompilerServices.IsReadOnly]
public struct DevicePlatform : IEquatable<Xamarin.Essentials.DevicePlatform>
- Inheritance
-
System.ValueTypeDevicePlatform
- Attributes
-
System.Runtime.CompilerServices.IsReadOnlyAttribute
- Implements
-
System.IEquatable<DevicePlatform>
Properties
Android |
Gets the Android platform. |
iOS |
Gets the iOS platform. |
macOS | |
Tizen |
Gets the Tizen platform |
tvOS |
Gets the tvOS platform |
Unknown |
Gets the unknown platform. |
UWP |
Gets the UWP platform. |
watchOS |
Gets the watchOS platform |
Methods
Create(String) |
Creates a new Device Platform. |
Equals(DevicePlatform) |
Checks the equality of the platform. |
Equals(Object) |
Checks the equality of the platform. |
GetHashCode() |
Gets the hash code of the platform. |
ToString() |
The string representation of the platform. |
Operators
Equality(DevicePlatform, DevicePlatform) |
Checks the equality of the platform. |
Inequality(DevicePlatform, DevicePlatform) |
Checks the equality of the platform. |