SemanticsConfiguration
Kotlin
|Java
class SemanticsConfiguration : SemanticsPropertyReceiver, Iterable<Entry<SemanticsPropertyKey<*>, Any?>>
kotlin.Any | |
↳ | androidx.compose.ui.semantics.SemanticsConfiguration |
Describes the semantic information associated with the owning component
The information provided in the configuration is used to to generate the semantics tree.
Summary
Public constructors | |
---|---|
<init>() Describes the semantic information associated with the owning component |
Public methods | |
---|---|
operator Boolean |
contains(key: SemanticsPropertyKey<T>) |
SemanticsConfiguration |
copy() Returns an exact copy of this configuration. |
Boolean | |
operator T |
get(key: SemanticsPropertyKey<T>) Retrieves the value for the given property, if one has been set. |
T |
getOrElse(key: SemanticsPropertyKey<T>, defaultValue: () -> T) |
T? |
getOrElseNullable(key: SemanticsPropertyKey<T>, defaultValue: () -> T?) |
Int |
hashCode() |
Iterator<Entry<SemanticsPropertyKey<*>, Any?>> |
iterator() |
Unit |
set(key: SemanticsPropertyKey<T>, value: T) |
String |
toString() |
Extension functions | ||
---|---|---|
From androidx.compose.ui.semantics
|
Properties | |
---|---|
Boolean | |
Boolean |
Whether the semantic information provided by the owning component and all of its descendants should be treated as one logical entity. |
Inherited extension properties | ||||||||
---|---|---|---|---|---|---|---|---|
From androidx.compose.ui.semantics
|