DevicePlatform Struct

Definition

The device platform that the application is running on.

[System.Runtime.CompilerServices.IsReadOnly]
public struct DevicePlatform : IEquatable<Xamarin.Essentials.DevicePlatform>
Inheritance
DevicePlatform
Attributes
Implements

Remarks

Properties

Android

Gets the Android platform.

iOS

Gets the iOS platform.

Unknown

Gets the unknown platform.

UWP

Gets the UWP platform.

Methods

Create(String)

Creates a new Device Platform.

Equals(Object)

Checks the equality of the platform.

Equals(DevicePlatform)

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.

Applies to