AnalyticsInfo
Namespace: XPlat.Device.Profile
Provides information about the device for profiling purposes.
Supported platforms
Platform | Version |
Xamarin.Android | 9.0 |
Xamarin.iOS | 1.0 |
UWP | 10.0.16299 |
Static Properties
VersionInfo
Gets version info about the device family.
DeviceForm
Gets the device form factor. For example, the app could be running on a phone, tablet, desktop, and so on.
Remarks
The DeviceForm
property returns the following values for the following platforms:
Android
Desktop
- When the current device family is DesktopCar
- When the current device family is AutoMobile
- When the current device family is MobileTablet
- When the current device family is TabletTelevision
- When the current device family is TVWearable
- When the current device family is VR or Wear
iOS
Desktop
- When the current device family is MacOSCar
- When the current device family is CarPlayMobile
- When the current device family is iPhoneTablet
- When the current device family is iPadTelevision
- When the current device family is TVWearable
- When the current device family is Watch
Windows
Desktop
- When the current device family is DesktopPhone
- When the current device family is PhoneTablet
- When the current device family is TabletSurface Hub
- When the current device family is Surface HubHead-mounted display
- When the current device family is HMD
Last updated