Google is committed to advancing racial equity for Black communities. See how.

SemanticsPropertyKey

class SemanticsPropertyKey<T>
kotlin.Any
   ↳ androidx.ui.semantics.SemanticsPropertyKey

Summary

Public constructors
<init>(name: String)

Public methods
operator T
getValue(thisRef: SemanticsPropertyReceiver, property: KProperty<*>)

Throws UnsupportedOperationException.

operator Unit
setValue(thisRef: SemanticsPropertyReceiver, property: KProperty<*>, value: T)

String

Properties
String

The name of the property.

Public constructors

<init>

SemanticsPropertyKey(name: String)

Public methods

getValue

operator fun getValue(
    thisRef: SemanticsPropertyReceiver,
    property: KProperty<*>
): T

Throws UnsupportedOperationException. Should not be called.

setValue

operator fun setValue(
    thisRef: SemanticsPropertyReceiver,
    property: KProperty<*>,
    value: T
): Unit

toString

fun toString(): String

Properties

name

val name: String

The name of the property. Should be the same as the constant from which it is accessed.