🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

SemanticsConfiguration

Describes the semantic information associated with the owning component The information provided in the configuration is used to to generate the semantics tree.

Source set: Common
public class SemanticsConfiguration :
    SemanticsPropertyReceiver, Iterable<Map.Entry<SemanticsPropertyKey<*>, Any?>>

Describes the semantic information associated with the owning component

The information provided in the configuration is used to to generate the semantics tree.

Properties

isMergingSemanticsOfDescendants

Source set: Common
public var isMergingSemanticsOfDescendants: Boolean = false

Whether the semantic information provided by the owning component and all of its descendants should be treated as one logical entity.

If set to true, the descendants of the owning component's SemanticsNode will merge their semantic information into the SemanticsNode representing the owning component.

isClearingSemantics

Source set: Common
public var isClearingSemantics: Boolean = false

Functions

get

Source set: Common
public operator fun <T> get(key: SemanticsPropertyKey<T>): T

Retrieves the value for the given property, if one has been set. If a value has not been set, throws IllegalStateException

getOrElse

Source set: Common
public fun <T> getOrElse(key: SemanticsPropertyKey<T>, defaultValue: () -> T): T

getOrElseNullable

Source set: Common
public fun <T> getOrElseNullable(key: SemanticsPropertyKey<T>, defaultValue: () -> T?): T?

contains

Source set: Common
public operator fun <T> contains(key: SemanticsPropertyKey<T>): Boolean

copy

Source set: Common
public fun copy(): SemanticsConfiguration

Returns an exact copy of this configuration.

equals

Source set: Common
override fun equals(other: Any?): Boolean

hashCode

Source set: Common
override fun hashCode(): Int

toString

Source set: Common
override fun toString(): String