Class

SemanticsPropertyKey

SemanticsPropertyKey is the infrastructure for setting key/value pairs inside semantics block in a type-safe way.

Source set: Android
public class SemanticsPropertyKey<T>
internal constructor(
    /** The name of the property. Should be the same as the constant from which it is accessed. */
    public val name: String
)

SemanticsPropertyKey is the infrastructure for setting key/value pairs inside semantics block in a type-safe way. Each key has one particular statically defined value type T.

Last updated: