# ActionSchedule.PlayerTarget.Callback

# ActionSchedule.PlayerTarget.Callback

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.PlayerTarget.Callback)

*** ** * ** ***

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

<br />

```
interface ActionSchedule.PlayerTarget.Callback
```

<br />

*** ** * ** ***

Callback to be called when message arrives.

## Summary

|                             ### Public functions                              |
|-------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) | [onMessageArrived](https://developer.android.com/reference/kotlin/androidx/media3/test/utils/ActionSchedule.PlayerTarget.Callback#onMessageArrived())`()` Notifies about the arrival of the message. |

## Public functions

### onMessageArrived

```
fun onMessageArrived(): Unit
```

Notifies about the arrival of the message.