Join us for ⁠#Android11: The Beta Launch Show on June 3!

AccessibilityAction

data class AccessibilityAction<T : Function<Unit>>
kotlin.Any
   ↳ androidx.ui.semantics.AccessibilityAction

Data class for standard accessibility action.

Summary

Public constructors

<init>(label: CharSequence?, action: T)

Data class for standard accessibility action.

Public methods

Int

Properties

T

The function to invoke when this action is performed

CharSequence?

The description of this action

Public constructors

<init>

AccessibilityAction(
    label: CharSequence?,
    action: T)

Data class for standard accessibility action.

Parameters
label: CharSequence? The description of this action
action: T The function to invoke when this action is performed

Public methods

hashCode

fun hashCode(): Int

Properties

action

val action: T

The function to invoke when this action is performed

label

val label: CharSequence?

The description of this action