Język

DeviceType Enum

Definition

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. Android device type definitions.

GenericTempSetting -6

The generic temperature-setting device type. Android device type definitions.

GenericArmDisarm -5

The generic arm/disarm device type. Android device type definitions.

GenericLockUnlock -4

The generic lock/unlock device type. Android device type definitions.

GenericOpenClose -3

The generic open/close device type. Android device type definitions.

GenericStartStop -2

The generic start/stop device type. Android device type definitions.

GenericOnOff -1

The generic on/off device type. Android device type definitions.

Unknown 0

The unknown device type. Android device type definitions.

ACHeater 1

The air-conditioner/heater device type. Android device type definitions.

ACUnit 2

The air-conditioning unit device type. Android device type definitions.

AirFreshener 3

The air freshener device type. Android device type definitions.

AirPurifier 4

The air purifier device type. Android device type definitions.

CoffeeMaker 5

The coffee maker device type. Android device type definitions.

Dehumidifier 6

The dehumidifier device type. Android device type definitions.

Display 7

The display device type. Android device type definitions.

Fan 8

The fan device type. Android device type definitions.

Hood 10

The hood device type. Android device type definitions.

Humidifier 11

The humidifier device type. Android device type definitions.

Kettle 12

The kettle device type. Android device type definitions.

Light 13

The light device type. Android device type definitions.

Microwave 14

The microwave device type. Android device type definitions.

Outlet 15

The outlet device type. Android device type definitions.

Radiator 16

The radiator device type. Android device type definitions.

RemoteControl 17

The remote control device type. Android device type definitions.

SetTop 18

The set-top device type. Android device type definitions.

Standmixer 19

The stand mixer device type. Android device type definitions.

Styler 20

The styler device type. Android device type definitions.

Switch 21

The switch device type. Android device type definitions.

TV 22

The television device type. Android device type definitions.

WaterHeater 23

The water heater device type. Android device type definitions.

Dishwasher 24

The dishwasher device type. Android device type definitions.

Dryer 25

The dryer device type. Android device type definitions.

Mop 26

The mop device type. Android device type definitions.

Mower 27

The mower device type. Android device type definitions.

Multicooker 28

The multicooker device type. Android device type definitions.

Shower 29

The shower device type. Android device type definitions.

Sprinkler 30

The sprinkler device type. Android device type definitions.

Washer 31

The washer device type. Android device type definitions.

Vacuum 32

The vacuum device type. Android device type definitions.

Awning 33

The awning device type. Android device type definitions.

Blinds 34

The blinds device type. Android device type definitions.

Closet 35

The closet device type. Android device type definitions.

Curtain 36

The curtain device type. Android device type definitions.

Door 37

The door device type. Android device type definitions.

Drawer 38

The drawer device type. Android device type definitions.

Garage 39

The garage device type. Android device type definitions.

Gate 40

The gate device type. Android device type definitions.

Pergola 41

The pergola device type. Android device type definitions.

Shutter 42

The shutter device type. Android device type definitions.

Window 43

The window device type. Android device type definitions.

Valve 44

The valve device type. Android device type definitions.

Lock 45

The lock device type. Android device type definitions.

SecuritySystem 46

The security system device type. Android device type definitions.

Heater 47

The heater device type. Android device type definitions.

Refrigerator 48

The refrigerator device type. Android device type definitions.

Thermostat 49

The thermostat device type. Android device type definitions.

Camera 50

The camera device type. Android device type definitions.

Doorbell 51

The doorbell device type. Android device type definitions.

Routine 52

The routine type, which groups a series of actions across devices. Android device type definitions.

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.

See the Android implementation.

Applies to