ModifiersBuilders.Semantics.Builder

Added in 1.0.0
Deprecated in 1.2.0

class ModifiersBuilders.Semantics.Builder


Builder for Semantics

Summary

Public constructors

Public functions

ModifiersBuilders.Semantics

Builds an instance from accumulated values.

ModifiersBuilders.Semantics.Builder
setContentDescription(contentDescription: String)

Sets the content description associated with this element.

Public constructors

Builder

Added in 1.0.0
Deprecated in 1.2.0
Builder()

Public functions

build

Added in 1.0.0
Deprecated in 1.2.0
fun build(): ModifiersBuilders.Semantics

Builds an instance from accumulated values.

setContentDescription

Added in 1.0.0
Deprecated in 1.2.0
fun setContentDescription(contentDescription: String): ModifiersBuilders.Semantics.Builder

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