Language

TemperatureControlTemplateFlagMode Enum

Definition

Specifies the modes supported by a temperature control.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum TemperatureControlTemplateFlagMode
[<System.Flags>]
type TemperatureControlTemplateFlagMode = 
Inheritance
TemperatureControlTemplateFlagMode
Attributes

Fields

Name Value Description
None 0

No supported-mode flags are set. This .NET zero value is not the Off flag and has no corresponding Android FLAG_MODE constant.

Off 2

Flag to indicate that the device supports off mode.

Android reference for android.service.controls.templates.TemperatureControlTemplate.FLAG_MODE_OFF.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Heat 4

Flag to indicate that the device supports heat mode.

Android reference for android.service.controls.templates.TemperatureControlTemplate.FLAG_MODE_HEAT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Cool 8

Flag to indicate that the device supports cool mode.

Android reference for android.service.controls.templates.TemperatureControlTemplate.FLAG_MODE_COOL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

HeatCool 16

Flag to indicate that the device supports heat-cool mode.

Android reference for android.service.controls.templates.TemperatureControlTemplate.FLAG_MODE_HEAT_COOL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Eco 32

Flag to indicate that the device supports eco mode.

Android reference for android.service.controls.templates.TemperatureControlTemplate.FLAG_MODE_ECO.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Combine these flags with a bitwise OR. Each Android support flag is 1 shifted left by the corresponding TemperatureControlTemplateMode code. Off is a supported mode with its own flag; Unknown has no flag. None is the .NET zero value and does not mean Off.

Applies to