Skip to content

Device and View Metrics

Bob Dickinson edited this page Aug 25, 2014 · 4 revisions

Synchro provides the following device metrics (via session.DeviceMetrics)

  • os - Windows, WinPhone, Android, iOS
  • osName
  • deviceName
  • deviceType - Phone, Tablet
  • deviceClass - Phone, Phablet, MiniTablet, Tablet
  • naturalOrientation - Portrait, Landscape
  • widthUnits
  • heightUnits
  • widthDeviceUnits
  • heightDeviceUnits
  • deviceScalingFactor
  • scalingFactor
  • widthInches
  • heightInches

In addition, the following view metrics are provided (via session.ViewMetrics)

  • orientation - Portrait, Landscape
  • widthUnits
  • heightUnits
  • widthInches
  • heightInches

Clone this wiki locally