ParallaxSemanticsConfig

class ParallaxSemanticsConfig(val expandedStateDescription: String = "Expanded", val collapsedStateDescription: String = "Collapsed", val expandActionLabel: String = "Expand header", val collapseActionLabel: String = "Collapse header")(source)

Strings the layout exposes to accessibility services. Provide translated values.

Parameters

expandedStateDescription

Announced state while the header is expanded.

collapsedStateDescription

Announced state once the header is collapsed.

expandActionLabel

Label of the expand action offered while collapsed.

collapseActionLabel

Label of the collapse action offered while expanded.

Constructors

Link copied to clipboard
constructor(expandedStateDescription: String = "Expanded", collapsedStateDescription: String = "Collapsed", expandActionLabel: String = "Expand header", collapseActionLabel: String = "Collapse header")

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun copy(expandedStateDescription: String = this.expandedStateDescription, collapsedStateDescription: String = this.collapsedStateDescription, expandActionLabel: String = this.expandActionLabel, collapseActionLabel: String = this.collapseActionLabel): ParallaxSemanticsConfig
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String