DeviceIdiom 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 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
-
DeviceIdiom
- Attributes
- Implements
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
Xamarin.Essentials
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for