Android.Service.Controls.Templates Namespace

Provides input templates for Android device controls.

Classes

Name Description
ControlButton

Button element for ControlTemplate.

ControlButton.InterfaceConsts

Contains parcel constants inherited by ControlButton from its Java interface.

ControlTemplate

An abstract input template for a Control.

RangeTemplate

A template for a Control with inputs in a "continuous" range of values.

StatelessTemplate

A template for a Control which has no state.

TemperatureControlTemplate

A template for a temperature related Control that supports multiple modes.

ThumbnailTemplate

A template for a Control that displays an image.

ToggleRangeTemplate

A template for a Control supporting toggling and a range.

ToggleTemplate

A template for a Control with a single button that can be toggled between two states.

Enums

Name Description
ControlTemplateType

Identifies the kind of input template used by an Android control.

TemperatureControlTemplateFlagMode

Specifies the modes supported by a temperature control.

TemperatureControlTemplateMode

Specifies a current or active mode for a temperature control.

Remarks

A ControlTemplate defines the input layout and available actions for a Control. Templates support toggle buttons, numeric ranges, images, temperature modes, and controls with no state.

Templates describe the state and interaction supplied by a control provider. Reading a template does not send a device command or confirm that a physical device changed state. Template identifiers distinguish the templates used for control interaction.

See the Android control-template implementation.