---
title: "CustomAccessibilityAction"
description: "Custom accessibility action."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
class CustomAccessibilityAction(val label: String, val action: () -> Boolean)
```


Custom accessibility action.

#### Parameters

| | |
| --- | --- |
| label | The description of this action |
| action | 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. |




