Added in API level 30
    StatelessTemplate
class StatelessTemplate : ControlTemplate
| kotlin.Any | ||
| ↳ | android.service.controls.templates.ControlTemplate | |
| ↳ | android.service.controls.templates.StatelessTemplate | |
A template for a Control which has no state.
Summary
| Inherited constants | |
|---|---|
| Public constructors | |
|---|---|
| StatelessTemplate(templateId: String)Construct a new  | |
| Public methods | |
|---|---|
| Int | |
| Inherited functions | |
|---|---|
Public constructors
StatelessTemplate
Added in API level 30
      StatelessTemplate(templateId: String)
Construct a new StatelessTemplate
| Parameters | |
|---|---|
| templateId | String: the identifier for this template This value cannot be null. | 
Public methods
getTemplateType
Added in API level 30
      fun getTemplateType(): Int
| Return | |
|---|---|
| Int | ControlTemplate.TYPE_STATELESS | 
