Source set: Android
public class SemanticsConfiguration : SemanticsPropertyReceiver
Describes the semantics information associated with the owning component.
Functions
set
Source set: Android
override fun <T> set(key: SemanticsPropertyKey<T>, value: T)
get
Source set: Android
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
getOrElseNullable
Source set: Android
public fun <T> getOrElseNullable(key: SemanticsPropertyKey<T>, defaultValue: () -> T?): T?
Retrieves the value for the given property, if one has been set, If a value has not been set, returns the provided default value.
getOrNull
Source set: Android
public fun <T> getOrNull(key: SemanticsPropertyKey<T>): T?
Retrieves the value for the given property, if one has been set, If a value has not been set, returns null