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)
Namespace: STREAMSIX.Auth
Assembly: cs.temp.dll.dll

Syntax

public class Device

Constructors

Device(String, String, String, String, String)

Declaration

public Device(string deviceId, string deviceOSType, string deviceOSVersion, string appVersion, string carrier)

Parameters

TypeNameDescription
System.StringdeviceId
System.StringdeviceOSType
System.StringdeviceOSVersion
System.StringappVersion
System.Stringcarrier

Fields

KEY_DEVICE_ID

Declaration

public const string KEY_DEVICE_ID = "streamsix:users:deviceId"

Field Value

TypeDescription
System.String

Properties

AppVersion

Declaration

public string AppVersion { get; }

Property Value

TypeDescription
System.String

Carrier

Declaration

public string Carrier { get; }

Property Value

TypeDescription
System.String

DeviceID

Declaration

public string DeviceID { get; }

Property Value

TypeDescription
System.String

DeviceOSType

Declaration

public string DeviceOSType { get; }

Property Value

TypeDescription
System.String

DeviceOSVersion

Declaration

public string DeviceOSVersion { get; }

Property Value

TypeDescription
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

TypeDescription
System.String

Methods

Equals(Object)

Declaration

public override bool Equals(object obj)

Parameters

TypeNameDescription
System.Objectobj

Returns

TypeDescription
System.Boolean

Overrides

System.Object.Equals(System.Object)

GetHashCode()

Declaration

public override int GetHashCode()

Returns

TypeDescription
System.Int32

Overrides

System.Object.GetHashCode()