XPlat Windows APIs
  • XPlat Windows APIs
  • Getting started
  • XPlat.ApplicationModel
    • IPackage
    • IPackage2
    • IPackage3
    • IPackageId
    • Package
    • PackageId
    • PackageVersion
  • XPlat.ApplicationModel.DataTransfer
    • Clipboard
    • DataPackage
    • DataPackageView
    • IDataPackage
    • IDataPackageView
  • XPlat.Core
    • AppPermissionInvalidException
    • CollectionExtensions
    • NSDateExtensions
    • NSObjectExtensions
    • PackageManifestHelper
    • RequestCodeHelper
    • TaskSchedulerAwaiter
    • TimeoutTask
  • XPlat.Device.Display
    • DisplayRequest
    • IDisplayRequest
  • XPlat.Device.Geolocation
    • BasicGeoposition
    • Geocoordinate
    • GeolocationAccessStatus
    • Geolocator
    • Geoposition
    • IGeocoordinate
    • IGeolocator
    • IGeopoint
    • IGeoposition
    • IStatusChangedEventArgs
    • PositionAccuracy
    • PositionChangedEventArgs
    • PositionStatus
    • PositionStatusExtensions
    • StatusChangedEventArgs
  • XPlat.Device.Launcher
    • ILauncher
    • Launcher
    • LaunchQuerySupportStatus
  • XPlat.Device.Power
    • BatteryStatus
    • BatteryStatusChangedEventArgs
    • BatteryStatusChangedEventHandler
    • IPowerManager
    • PowerManager
  • XPlat.Device.Profile
    • AnalyticsInfo
    • AnalyticsVersionInfo
    • IAnalyticsVersionInfo
  • XPlat.Foundation
    • CollectionChange
    • IMapChangedEventArgs
    • IObservableMap
    • IPropertySet
    • MapChangedEventHandler
    • ApplicationData
    • StringMapChangedEventArgs
    • TypedEventHandler
  • XPlat.Media.Capture
    • BitmapExtensions
    • CameraCaptureUI
    • CameraCaptureUIMode
    • CameraCaptureUIPhotoCaptureSettings
    • CameraCaptureUIVideoCaptureSettings
    • ICameraCaptureUI
    • StorageFileExtensions
  • XPlat.Services.Maps
    • IMapAddress
    • IMapLocation
    • IMapLocationFinderResult
    • MapAddress
    • MapLocation
    • MapLocationDesiredAccuracy
    • MapLocationFinder
    • MapLocationFinderResult
    • MapLocationFinderStatus
  • XPlat.Storage
    • ApplicationDataContainer
    • ApplicationDataContainerSettings
    • ApplicationDataCreateDisposition
    • ApplicationDataLocality
    • BasicProperties
    • CreationCollisionOption
    • FileAccessMode
    • FileAttributes
    • IApplicationData
    • IApplicationDataContainer
    • IBasicProperties
    • IImageProperties
    • ImageProperties
    • IMusicProperties
    • IStorageFile
    • IStorageFileExtras
    • IStorageFolder
    • IStorageFolder2
    • IStorageFolderExtras
    • IStorageFolderQueryOperations
    • IStorageItem
    • IStorageItem2
    • IStorageItemContentProperties
    • IStorageItemProperties
    • IVideoProperties
    • KnownFolders
    • MusicProperties
    • NameCollisionOption
    • PhotoOrientation
    • StorageFile
    • StorageFileExtensions
    • StorageFolder
    • StorageItemContentProperties
    • StorageItemContentPropertiesExtensions
    • StorageItemCreationException
    • StorageItemException
    • StorageItemNotFoundException
    • StorageItemTypes
    • VideoOrientation
    • VideoProperties
  • XPlat.Storage.Pickers
    • FileOpenPicker
    • IFileOpenPicker
  • XPlat.UI
    • DispatcherTimer
    • IDispatcherTimer
  • XPlat.UI.Core
    • CoreDispatcher
    • CoreDispatcherPriority
    • DispatchedHandler
    • ICoreDispatcher
Powered by GitBook
On this page
  • Supported platforms
  • Constructors
  • AnalyticsVersionInfo(Windows.System.Profile.AnalyticsVersionInfo) - Windows
  • Properties
  • DeviceFamily
  • DeviceFamilyVersion
  1. XPlat.Device.Profile

AnalyticsVersionInfo

Namespace: XPlat.Device.Profile

Provides version information about the device family.

public class AnalyticsVersionInfo : IAnalyticsVersionInfo

Supported platforms

Platform

Version

Xamarin.Android

9.0

Xamarin.iOS

1.0

UWP

10.0.16299

Constructors

AnalyticsVersionInfo(Windows.System.Profile.AnalyticsVersionInfo) - Windows

Parameters

versionInfo (Windows.System.Profile.AnalyticsVersionInfo)

The Windows AnalyticsVersionInfo reference to retrieve relevant information from.

Properties

DeviceFamily

Gets a string that represents the type of device the application is running on.

public string DeviceFamily { get; }

Remarks

The DeviceFamily property returns the following values for the following platforms:

Android

  • Android.Auto - When the current UI mode is Car

  • Android.Desktop - When the current UI mode is Desk

  • Android.Mobile - When the device type is detected as phone

  • Android.Tablet - When the device type is detected as tablet

  • Android.TV - When the current UI mode is Television

  • Android.VR - When the current UI mode is VR Headset

  • Android.Wear - When the current UI mode is Watch

iOS

  • Apple.CarPlay - When the current UI mode is CarPlay

  • Apple.iPhone - When the current UI mode is Phone

  • Apple.iPad - When the current UI mode is Pad

  • Apple.TV - When the current UI mode is TV

Windows

  • Windows.Desktop - When the current UI mode is Desktop

  • Windows.Mobile - When the current UI mode is Mobile

  • Windows.Team - When the current UI mode is Surface Hub

  • Windows.IoT - When the current UI mode is IoT

  • Windows.Xbox - When the current UI mode is Xbox

  • Windows.Holographic - When the current UI mode is Holographic

DeviceFamilyVersion

Gets the version within the device family.

public string DeviceFamilyVersion { get; }
PreviousAnalyticsInfoNextIAnalyticsVersionInfo

Last updated 5 years ago