Photon Voice v2.53

Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
DeviceInfo Struct Reference

Public Member Functions

 DeviceInfo (int id, string name, DeviceFeatures features=null)
 
 DeviceInfo (string id, string name, DeviceFeatures features=null)
 
 DeviceInfo (string name, DeviceFeatures features=null)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
override string ToString ()
 

Static Public Member Functions

static bool operator== (DeviceInfo d1, DeviceInfo d2)
 
static bool operator!= (DeviceInfo d1, DeviceInfo d2)
 

Public Attributes

DeviceFeatures Features => features == null ? DeviceFeatures.Default : features
 
DeviceFeatures features
 

Static Public Attributes

static readonly DeviceInfo Default = new DeviceInfo(true, -128, "", "[Default]")
 

Properties

bool IsDefault [get]
 
int IDInt [get]
 
string IDString [get]
 
string Name [get]