SubspaceSemanticsPropertyReceiver

interface SubspaceSemanticsPropertyReceiver

Known direct subclasses
SubspaceSemanticsConfiguration

Configuration of semantics properties for a spatial node.


Scope provided by semantics blocks, letting you set key/value pairs for use in testing, accessibility, etc.

Summary

Public functions

operator Unit
<T : Any?> set(key: SemanticsPropertyKey<T>, value: T)

Sets the semantics property defined by key to value.

Extension properties

String

Developer-set content description of the accessibility node.

String

Test tag attached to this semantics node.

Public functions

set

Added in 1.0.0-alpha16
operator fun <T : Any?> set(key: SemanticsPropertyKey<T>, value: T): Unit

Sets the semantics property defined by key to value.

Parameters
key: SemanticsPropertyKey<T>

The property key to set.

value: T

The value to assign to the property.

Extension properties

SubspaceSemanticsPropertyReceiver.contentDescription

var SubspaceSemanticsPropertyReceiver.contentDescriptionString

Developer-set content description of the accessibility node.

SubspaceSemanticsPropertyReceiver.testTag

var SubspaceSemanticsPropertyReceiver.testTagString

Test tag attached to this semantics node.