StatelessTemplate

public final class StatelessTemplate
extends ControlTemplate

java.lang.Object
   ↳ android.service.controls.templates.ControlTemplate
     ↳ android.service.controls.templates.StatelessTemplate


A template for a Control which has no state.

See also:

Summary

Inherited constants

Public constructors

StatelessTemplate(String templateId)

Construct a new StatelessTemplate

Public methods

int getTemplateType()

The template type associated with this class.

Inherited methods

Public constructors

StatelessTemplate

Added in API level 30
public StatelessTemplate (String templateId)

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
public int getTemplateType ()

The template type associated with this class.

Returns
int ControlTemplate#TYPE_STATELESS