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

androidx.ui.foundation.semantics

Extension properties summary

For SemanticsPropertyReceiver
Boolean

Whether this element is a Dialog.

Boolean

Whether this element is in a group from which only a single item can be selected at any given time (such as a radio group)

Boolean

Whether this element is selected (out of a list of possible selections).

ToggleableState

The state of a toggleable component.

Extension properties

dialog

var SemanticsPropertyReceiver.dialog: Boolean

Whether this element is a Dialog. Not to be confused with if this element is part of a Dialog.

inMutuallyExclusiveGroup

var SemanticsPropertyReceiver.inMutuallyExclusiveGroup: Boolean

Whether this element is in a group from which only a single item can be selected at any given time (such as a radio group)

selected

var SemanticsPropertyReceiver.selected: Boolean

Whether this element is selected (out of a list of possible selections). The presence of this property indicates that the element is selectable.

toggleableState

var SemanticsPropertyReceiver.toggleableState: ToggleableState

The state of a toggleable component. The presence of this property indicates that the element is toggleable.