public class RemoteRole internal constructor(internal val value: Int)
The type of user interface element. Accessibility services might use this to describe the element or do customizations.
Functions
toString
override fun toString(): String
Members
Companion
public companion object
Properties
Button
public val Button: RemoteRole = RemoteRole(0)
This element is a button control. Associated semantics properties and modifiers for accessibility: RemoteModifier.clickable, RemoteSemanticsProperties.Enabled.
Checkbox
public val Checkbox: RemoteRole = RemoteRole(1)
This element is a Checkbox which is a component that represents two states (checked / unchecked). Associated semantics properties and modifiers for accessibility: RemoteModifier.clickable, RemoteSemanticsProperties.StateDescription, RemoteSemanticsProperties.Enabled.
Switch
public val Switch: RemoteRole = RemoteRole(2)
This element is a Switch which is a two state toggleable component that provides on/off like options. Associated semantics properties and modifiers for accessibility: RemoteModifier.clickable, RemoteSemanticsProperties.StateDescription, RemoteSemanticsProperties.Enabled.
RadioButton
public val RadioButton: RemoteRole = RemoteRole(3)
This element is a RadioButton which is a component to represent two states, selected and not selected. Associated semantics properties and modifiers for accessibility: RemoteModifier.clickable, RemoteSemanticsProperties.StateDescription, RemoteSemanticsProperties.Enabled.
Tab
public val Tab: RemoteRole = RemoteRole(4)
This element is a Tab which represents a single page of content using a text label and/or icon. Associated semantics properties and modifiers for accessibility: RemoteModifier.clickable, RemoteSemanticsProperties.StateDescription, RemoteSemanticsProperties.Enabled.
Image
public val Image: RemoteRole = RemoteRole(5)
This element is an image. Associated semantics properties for accessibility: RemoteSemanticsProperties.ContentDescription.
DropdownList
public val DropdownList: RemoteRole = RemoteRole(6)
This element is associated with a drop down menu or list. Associated semantics properties and modifiers for accessibility: RemoteModifier.clickable, RemoteSemanticsProperties.Enabled.
ValuePicker
public val ValuePicker: RemoteRole = RemoteRole(7)
This element is a value picker component allowing value navigation. Associated semantics properties and modifiers for accessibility: RemoteModifier.verticalScroll, RemoteSemanticsProperties.StateDescription, RemoteSemanticsProperties.Enabled.
Carousel
public val Carousel: RemoteRole = RemoteRole(8)
This element is a carousel displaying a scrollable collection of items. Associated semantics properties and modifiers for accessibility: RemoteModifier.horizontalScroll, RemoteSemanticsProperties.Enabled.