Skip to main content

DeviceStatRecord

A class in Root.Township, Alta.Analytics.

Obsolete analytics record of the player's hardware, filled from Unity's SystemInfo.

Constructors​

MemberWhat it is
DeviceStatRecord()Creates a DeviceStatRecord with default values.

Properties​

MemberWhat it is
string DeviceModel { get; set; }The device model.
string DeviceName { get; set; }The device's user-set name.
string DeviceType { get; set; }Desktop, handheld, console and so on, as text.
string DeviceUniqueIdentifier { get; set; }Unity's unique ID for the device.
int GraphicsDeviceID { get; set; }The GPU's device ID.
string GraphicsDeviceName { get; set; }The GPU name.
string GraphicsDeviceType { get; set; }The graphics API in use, as text.
string GraphicsDeviceVendor { get; set; }The GPU vendor name.
int GraphicsDeviceVendorID { get; set; }The GPU vendor ID.
string GraphicsDeviceVersion { get; set; }The graphics API version string.
int GraphicsMemorySize { get; set; }GPU memory in megabytes.
string OperatingSystem { get; set; }The operating system name and version.
string OperatingSystemFamily { get; set; }Windows, Linux, Mac and so on, as text.
int ProcessorCount { get; set; }Number of logical processors.
int ProcessorFrequency { get; set; }Processor frequency in MHz.
string ProcessorType { get; set; }The processor name.
int SystemMemorySize { get; set; }System memory in megabytes.

Methods​

MemberWhat it is
static DeviceStatRecord FromSystemInfo()Makes a record from the current machine's SystemInfo.
override string ToString()Lists every field on its own line.