ModifiersBuilders.Semantics.Builder

public final class ModifiersBuilders.Semantics.Builder


Builder for Semantics

Summary

Public constructors

Public methods

@NonNull ModifiersBuilders.Semantics

Builds an instance from accumulated values.

@NonNull ModifiersBuilders.Semantics.Builder
setContentDescription(@NonNull String contentDescription)

Sets the content description associated with this element.

Public constructors

Builder

public Builder()

Public methods

build

@NonNull
public ModifiersBuilders.Semantics build()

Builds an instance from accumulated values.

setContentDescription

@NonNull
public ModifiersBuilders.Semantics.Builder setContentDescription(@NonNull String contentDescription)

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