ModifiersBuilders.Semantics.Builder

Added in 1.0.0
Deprecated in 1.2.0

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

Added in 1.0.0
Deprecated in 1.2.0
public Builder()

Public methods

build

Added in 1.0.0
Deprecated in 1.2.0
public @NonNull ModifiersBuilders.Semantics build()

Builds an instance from accumulated values.

setContentDescription

Added in 1.0.0
Deprecated in 1.2.0
public @NonNull 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.