CustomAccessibilityAction
Kotlin
|Java
data class CustomAccessibilityAction
kotlin.Any | |
↳ | androidx.compose.ui.semantics.CustomAccessibilityAction |
Data class for custom accessibility action.
Summary
Public constructors | |
---|---|
<init>(label: CharSequence, action: () -> Boolean) Data class for custom accessibility action. |
Properties | |
---|---|
() -> Boolean |
The function to invoke when this action is performed. |
CharSequence |
The description of this action |
Public constructors
<init>
CustomAccessibilityAction(
label: CharSequence,
action: () -> Boolean)
Data class for custom accessibility action.
Parameters | |
---|---|
label: CharSequence | The description of this action |
action: () -> Boolean | The function to invoke when this action is performed. The function should have no arguments and return a boolean result indicating whether the action is successfully handled. |
Properties
action
val action: () -> Boolean
The function to invoke when this action is performed. The function should have no arguments and return a boolean result indicating whether the action is successfully handled.