DeviceType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the device category used to select a control's default icon and color.
public enum DeviceType
type DeviceType =
- Inheritance
-
DeviceType
Fields
| Name | Value | Description |
|---|---|---|
| GenericViewstream | -7 | The generic stream-viewing device type. |
| GenericTempSetting | -6 | The generic temperature-setting device type. |
| GenericArmDisarm | -5 | The generic arm/disarm device type. |
| GenericLockUnlock | -4 | The generic lock/unlock device type. |
| GenericOpenClose | -3 | The generic open/close device type. |
| GenericStartStop | -2 | The generic start/stop device type. |
| GenericOnOff | -1 | The generic on/off device type. |
| Unknown | 0 | The unknown device type. |
| ACHeater | 1 | The air-conditioner/heater device type. |
| ACUnit | 2 | The air-conditioning unit device type. |
| AirFreshener | 3 | The air freshener device type. |
| AirPurifier | 4 | The air purifier device type. |
| CoffeeMaker | 5 | The coffee maker device type. |
| Dehumidifier | 6 | The dehumidifier device type. |
| Display | 7 | The display device type. |
| Fan | 8 | The fan device type. |
| Hood | 10 | The hood device type. |
| Humidifier | 11 | The humidifier device type. |
| Kettle | 12 | The kettle device type. |
| Light | 13 | The light device type. |
| Microwave | 14 | The microwave device type. |
| Outlet | 15 | The outlet device type. |
| Radiator | 16 | The radiator device type. |
| RemoteControl | 17 | The remote control device type. |
| SetTop | 18 | The set-top device type. |
| Standmixer | 19 | The stand mixer device type. |
| Styler | 20 | The styler device type. |
| Switch | 21 | The switch device type. |
| TV | 22 | The television device type. |
| WaterHeater | 23 | The water heater device type. |
| Dishwasher | 24 | The dishwasher device type. |
| Dryer | 25 | The dryer device type. |
| Mop | 26 | The mop device type. |
| Mower | 27 | The mower device type. |
| Multicooker | 28 | The multicooker device type. |
| Shower | 29 | The shower device type. |
| Sprinkler | 30 | The sprinkler device type. |
| Washer | 31 | The washer device type. |
| Vacuum | 32 | The vacuum device type. |
| Awning | 33 | The awning device type. |
| Blinds | 34 | The blinds device type. |
| Closet | 35 | The closet device type. |
| Curtain | 36 | The curtain device type. |
| Door | 37 | The door device type. |
| Drawer | 38 | The drawer device type. |
| Garage | 39 | The garage device type. |
| Gate | 40 | The gate device type. |
| Pergola | 41 | The pergola device type. |
| Shutter | 42 | The shutter device type. |
| Window | 43 | The window device type. |
| Valve | 44 | The valve device type. |
| Lock | 45 | The lock device type. |
| SecuritySystem | 46 | The security system device type. |
| Heater | 47 | The heater device type. |
| Refrigerator | 48 | The refrigerator device type. |
| Thermostat | 49 | The thermostat device type. |
| Camera | 50 | The camera device type. |
| Doorbell | 51 | The doorbell device type. |
| Routine | 52 | The routine type, which groups a series of actions across devices. |
Remarks
These values correspond to the Android DeviceTypes constants. A provider can change a control's device type when publishing a state update. Generic types identify a basic function when a more specific device type is not known or supplied. The control template defines the available interaction separately.