Source set: Common
public class AccessibilityAction<T : Function<Boolean>>(
public val label: String?,
public val action: T?,
)
Standard accessibility action.
Parameters
| label | The description of this action |
| action | The function to invoke when this action is performed. The function should return a boolean result indicating whether the action is successfully handled. For example, a scroll forward action should return false if the widget is not enabled or has reached the end of the list. If multiple semantics blocks with the same AccessibilityAction are provided, the resulting AccessibilityAction's label/action will be the label/action of the outermost modifier with this key and nonnull label/action, or null if no nonnull label/action is found. |
Functions
equals
Source set: Common
override fun equals(other: Any?): Boolean
hashCode
Source set: Common
override fun hashCode(): Int
toString
Source set: Common
override fun toString(): String