Udostępnij za pośrednictwem


DeviceIdiom Struct

Definition

The idiom (form factor) of the device.

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

Properties

Desktop

Gets the desktop idiom.

Phone

Gets the phone idiom.

Tablet

Gets the tablet idiom.

TV

Gets the TV idiom.

Unknown

Gets the unknown idiom.

Watch

Gets the watch idiom.

Methods

Create(String)

Creates a new device idiom.

Equals(DeviceIdiom)

Checks the equality of the idiom.

Equals(Object)

Checks the equality of the idiom.

GetHashCode()

Gets the hash code for the idom.

ToString()

String representation of the idiom.

Operators

Equality(DeviceIdiom, DeviceIdiom)

Checks the equality of the idiom.

Inequality(DeviceIdiom, DeviceIdiom)

Checks the equality of the idiom.

Applies to