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

SubspaceSemanticsConfiguration

Configuration of semantics properties for a spatial node.

Source set: Android
public class SubspaceSemanticsConfiguration internal constructor(private val config: SemanticsConfiguration) :
    SubspaceSemanticsPropertyReceiver, Iterable<Map.Entry<SemanticsPropertyKey<*>, Any?>>

Configuration of semantics properties for a spatial node.

Functions

contains

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

Returns true if the configuration contains the given key.

getOrElseNullable

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

Returns the value for the given key if present, or the result of defaultValue if not.

getOrElse

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

Returns the value for the given key if present, or the result of defaultValue if not.

get

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

Returns the value for the given key if present, or throws IllegalStateException if not.

getOrNull

Source set: Android
public fun <T> getOrNull(key: SemanticsPropertyKey<T>): T?

Returns the value for the given key if present, or null if not.

set

Source set: Android
override operator fun <T> set(key: SemanticsPropertyKey<T>, value: T)

iterator

Source set: Android
override fun iterator(): Iterator<Map.Entry<SemanticsPropertyKey<*>, Any?>>

Content updated: