Stay organized with collections
Save and categorize content based on your preferences.
android.service.controls.templates
Classes
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# android.service.controls.templates\n\nAdded in [API level 30](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nandroid.service.controls.templates\n==================================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/service/controls/templates/package-summary \"View this page in Kotlin\") \\|Java\n\nClasses\n-------\n\n|--------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| [ControlButton](/reference/android/service/controls/templates/ControlButton) | Button element for [ControlTemplate](/reference/android/service/controls/templates/ControlTemplate). |\n| [ControlTemplate](/reference/android/service/controls/templates/ControlTemplate) | An abstract input template for a [Control](/reference/android/service/controls/Control). |\n| [RangeTemplate](/reference/android/service/controls/templates/RangeTemplate) | A template for a [Control](/reference/android/service/controls/Control) with inputs in a \"continuous\" range of values. |\n| [StatelessTemplate](/reference/android/service/controls/templates/StatelessTemplate) | A template for a [Control](/reference/android/service/controls/Control) which has no state. |\n| [TemperatureControlTemplate](/reference/android/service/controls/templates/TemperatureControlTemplate) | A template for a temperature related [Control](/reference/android/service/controls/Control) that supports multiple modes. |\n| [ThumbnailTemplate](/reference/android/service/controls/templates/ThumbnailTemplate) | A template for a [Control](/reference/android/service/controls/Control) that displays an image. |\n| [ToggleRangeTemplate](/reference/android/service/controls/templates/ToggleRangeTemplate) | A template for a [Control](/reference/android/service/controls/Control) supporting toggling and a range. |\n| [ToggleTemplate](/reference/android/service/controls/templates/ToggleTemplate) | A template for a [Control](/reference/android/service/controls/Control) with a single button that can be toggled between two states. |\n\n-\n\n Classes\n -------\n\n - [ControlButton](/reference/android/service/controls/templates/ControlButton)\n - [ControlTemplate](/reference/android/service/controls/templates/ControlTemplate)\n - [RangeTemplate](/reference/android/service/controls/templates/RangeTemplate)\n - [StatelessTemplate](/reference/android/service/controls/templates/StatelessTemplate)\n - [TemperatureControlTemplate](/reference/android/service/controls/templates/TemperatureControlTemplate)\n - [ThumbnailTemplate](/reference/android/service/controls/templates/ThumbnailTemplate)\n - [ToggleRangeTemplate](/reference/android/service/controls/templates/ToggleRangeTemplate)\n - [ToggleTemplate](/reference/android/service/controls/templates/ToggleTemplate)"]]