<h2 id="actionruncallback-callbackclass-parameters">actionRunCallback</h2>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
public fun <T : ActionCallback> actionRunCallback(
    callbackClass: Class<T>,
    parameters: ActionParameters = actionParametersOf(),
): Action
```

Creates an [Action](/jetpack-compose/androidx.glance/glance/interfaces/Action) that executes a given [ActionCallback](/jetpack-compose/androidx.glance/glance-appwidget/interfaces/ActionCallback) implementation

#### Parameters

| | |
| --- | --- |
| callbackClass | the class that implements [ActionCallback](/jetpack-compose/androidx.glance/glance-appwidget/interfaces/ActionCallback) |
| parameters | the parameters associated with the action |

<hr class="docs-overload-divider">

<h2 id="actionruncallback-parameters">actionRunCallback</h2>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
public inline fun <reified T : ActionCallback> actionRunCallback(
    parameters: ActionParameters = actionParametersOf()
): Action
```

Creates an [Action](/jetpack-compose/androidx.glance/glance/interfaces/Action) that executes a given [ActionCallback](/jetpack-compose/androidx.glance/glance-appwidget/interfaces/ActionCallback) implementation

#### Parameters

| | |
| --- | --- |
| parameters | the parameters associated with the action |