Class Device
Inheritance
System.Object
Device
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: cs.temp.dll.dll
Syntax
Constructors
Device(String, String, String, String, String)
Declaration
public Device(string deviceId, string deviceOSType, string deviceOSVersion, string appVersion, string carrier)
Parameters
Type | Name | Description |
---|
System.String | deviceId | |
System.String | deviceOSType | |
System.String | deviceOSVersion | |
System.String | appVersion | |
System.String | carrier | |
Fields
KEY_DEVICE_ID
Declaration
public const string KEY_DEVICE_ID = "streamsix:users:deviceId"
Field Value
Type | Description |
---|
System.String | |
Properties
AppVersion
Declaration
public string AppVersion { get; }
Property Value
Type | Description |
---|
System.String | |
Carrier
Declaration
public string Carrier { get; }
Property Value
Type | Description |
---|
System.String | |
DeviceID
Declaration
public string DeviceID { get; }
Property Value
Type | Description |
---|
System.String | |
DeviceOSType
Declaration
public string DeviceOSType { get; }
Property Value
Type | Description |
---|
System.String | |
DeviceOSVersion
Declaration
public string DeviceOSVersion { get; }
Property Value
Type | Description |
---|
System.String | |
StaticDeviceId
Random guid that represent this device's ID.
This is saved in player pref at KEY_DEVICE_ID.
Because it is sync to player pref, this is static.
Declaration
public static string StaticDeviceId { get; }
Property Value
Type | Description |
---|
System.String | |
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|
System.Object | obj | |
Returns
Type | Description |
---|
System.Boolean | |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|
System.Int32 | |
Overrides
System.Object.GetHashCode()