ModifiersBuilders.Semantics.Builder

public static final class ModifiersBuilders.Semantics.Builder
extends Object

java.lang.Object
   ↳ androidx.wear.tiles.builders.ModifiersBuilders.Semantics.Builder


Builder for ModifiersBuilders.Semantics

Summary

Public methods

ModifiersBuilders.Semantics build()

Builds an instance from accumulated values.

ModifiersBuilders.Semantics.Builder setContentDescription(String contentDescription)

Sets the content description associated with this element.

Inherited methods

Public methods

build

public ModifiersBuilders.Semantics build ()

Builds an instance from accumulated values.

Returns
ModifiersBuilders.Semantics

setContentDescription

public ModifiersBuilders.Semantics.Builder setContentDescription (String contentDescription)

Sets the content description associated with this element. This will be dictated when the element is focused by the screen reader.

Parameters
contentDescription String

Returns
ModifiersBuilders.Semantics.Builder