# ActionSchedule

# ActionSchedule

Artifact:[androidx.media3:media3-test-utils](https://developer.android.com/jetpack/androidx/releases/media3)  
[View Source](https://cs.android.com/search?q=file:androidx/media3/test/utils/ActionSchedule.java+class:androidx.media3.test.utils.ActionSchedule)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/test/utils/ActionSchedule "View this page in Java")

<br />

```
@UnstableApi
class ActionSchedule
```

<br />

*** ** * ** ***

Schedules a sequence of[Action](https://developer.android.com/reference/kotlin/androidx/media3/test/utils/Action)s for execution during a test.

## Summary

|                                                                                                                                                                                                                           ### Nested types                                                                                                                                                                                                                            |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `class `[ActionSchedule.Builder](https://developer.android.com/reference/kotlin/androidx/media3/test/utils/ActionSchedule.Builder) A builder for[ActionSchedule](https://developer.android.com/reference/kotlin/androidx/media3/test/utils/ActionSchedule)instances.                                                                                                                                                                                                  |
| `interface `[ActionSchedule.Callback](https://developer.android.com/reference/kotlin/androidx/media3/test/utils/ActionSchedule.Callback) Callback to notify listener that the action schedule has finished.                                                                                                                                                                                                                                                           |
| `abstract class `[ActionSchedule.PlayerRunnable](https://developer.android.com/reference/kotlin/androidx/media3/test/utils/ActionSchedule.PlayerRunnable)` : `[Runnable](https://developer.android.com/reference/java/lang/Runnable.html) Provides a wrapper for a[Runnable](https://developer.android.com/reference/java/lang/Runnable.html)which has access to the player.                                                                                          |
| `abstract class `[ActionSchedule.PlayerTarget](https://developer.android.com/reference/kotlin/androidx/media3/test/utils/ActionSchedule.PlayerTarget)` : `[PlayerMessage.Target](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/PlayerMessage.Target) Provides a wrapper for a[Target](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/PlayerMessage.Target)which has access to the player when handling messages. |
| `interface `[ActionSchedule.PlayerTarget.Callback](https://developer.android.com/reference/kotlin/androidx/media3/test/utils/ActionSchedule.PlayerTarget.Callback) Callback to be called when message arrives.                                                                                                                                                                                                                                                        |