Class UnityAttributes
Attributes retrieved by Unity.
Inherited Members
Namespace: Unity.Services.Apis.RemoteConfig
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "Unity_attributes")]
[Preserve]
public class UnityAttributes
Constructors
UnityAttributes(string, string, string, string, string, string, string, string, string, int, string, int)
Initializes a new instance of the Unity
Declaration
[Preserve]
public UnityAttributes(string appVersion = null, string appBuildVersion = null, string country = null, string cpu = null, string cpuFrequency = null, string graphicsDeviceVendor = null, string language = null, string osVersion = null, string platform = null, int ram = 0, string model = null, int timeSinceStart = 0)
Parameters
Type | Name | Description |
---|---|---|
string | appVersion | appVersion. |
string | appBuildVersion | appBuildVersion. |
string | country | country. |
string | cpu | cpu. |
string | cpuFrequency | cpuFrequency. |
string | graphicsDeviceVendor | graphicsDeviceVendor. |
string | language | language. |
string | osVersion | osVersion. |
string | platform | platform. |
int | ram | ram. |
string | model | model. |
int | timeSinceStart | timeSinceStart. |
Properties
AppBuildVersion
Gets or Sets AppBuildVersion
Declaration
[DataMember(Name = "appBuildVersion", EmitDefaultValue = false)]
[Preserve]
public string AppBuildVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
AppVersion
Gets or Sets AppVersion
Declaration
[DataMember(Name = "appVersion", EmitDefaultValue = false)]
[Preserve]
public string AppVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
Country
Gets or Sets Country
Declaration
[DataMember(Name = "country", EmitDefaultValue = false)]
[Preserve]
public string Country { get; set; }
Property Value
Type | Description |
---|---|
string |
Cpu
Gets or Sets Cpu
Declaration
[DataMember(Name = "cpu", EmitDefaultValue = false)]
[Preserve]
public string Cpu { get; set; }
Property Value
Type | Description |
---|---|
string |
CpuFrequency
Gets or Sets CpuFrequency
Declaration
[DataMember(Name = "cpuFrequency", EmitDefaultValue = false)]
[Preserve]
public string CpuFrequency { get; set; }
Property Value
Type | Description |
---|---|
string |
GraphicsDeviceVendor
Gets or Sets GraphicsDeviceVendor
Declaration
[DataMember(Name = "graphicsDeviceVendor", EmitDefaultValue = false)]
[Preserve]
public string GraphicsDeviceVendor { get; set; }
Property Value
Type | Description |
---|---|
string |
Language
Gets or Sets Language
Declaration
[DataMember(Name = "language", EmitDefaultValue = false)]
[Preserve]
public string Language { get; set; }
Property Value
Type | Description |
---|---|
string |
Model
Gets or Sets Model
Declaration
[DataMember(Name = "model", EmitDefaultValue = false)]
[Preserve]
public string Model { get; set; }
Property Value
Type | Description |
---|---|
string |
OsVersion
Gets or Sets OsVersion
Declaration
[DataMember(Name = "osVersion", EmitDefaultValue = false)]
[Preserve]
public string OsVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
Platform
Gets or Sets Platform
Declaration
[DataMember(Name = "platform", EmitDefaultValue = false)]
[Preserve]
public string Platform { get; set; }
Property Value
Type | Description |
---|---|
string |
Ram
Gets or Sets Ram
Declaration
[DataMember(Name = "ram", EmitDefaultValue = false)]
[Preserve]
public int Ram { get; set; }
Property Value
Type | Description |
---|---|
int |
TimeSinceStart
Gets or Sets TimeSinceStart
Declaration
[DataMember(Name = "timeSinceStart", EmitDefaultValue = false)]
[Preserve]
public int TimeSinceStart { get; set; }
Property Value
Type | Description |
---|---|
int |