Class

RemoteRole

The type of user interface element.

Source set: JvmAndAndroid
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

Source set: JvmAndAndroid
override fun toString(): String

Members

Companion

Source set: JvmAndAndroid
public companion object

Properties

Button

Source set: JvmAndAndroid
public val Button: RemoteRole = RemoteRole(0)

This element is a button control. Associated semantics properties and modifiers for accessibility: RemoteModifier.clickable, RemoteSemanticsProperties.Enabled.

Checkbox

Source set: JvmAndAndroid
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

Source set: JvmAndAndroid
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

Source set: JvmAndAndroid
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

Source set: JvmAndAndroid
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

Source set: JvmAndAndroid
public val Image: RemoteRole = RemoteRole(5)

This element is an image. Associated semantics properties for accessibility: RemoteSemanticsProperties.ContentDescription.

Source set: JvmAndAndroid
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

Source set: JvmAndAndroid
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.

Source set: JvmAndAndroid
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.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: