SemanticsConfiguration
Class
Android
public class SemanticsConfiguration : SemanticsPropertyReceiver
Describes the semantics information associated with the owning component.
Functions
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
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.
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