# PlayerEmsgHandler.PlayerEmsgCallback

# PlayerEmsgHandler.PlayerEmsgCallback

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

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/exoplayer/dash/PlayerEmsgHandler.PlayerEmsgCallback "View this page in Java")

<br />

```
interface PlayerEmsgHandler.PlayerEmsgCallback
```

<br />

*** ** * ** ***

Callbacks for player emsg events encountered during DASH live stream.

## Summary

|                             ### Public functions                              |
|-------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) | [onDashManifestPublishTimeExpired](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/PlayerEmsgHandler.PlayerEmsgCallback#onDashManifestPublishTimeExpired(long))`(expiredManifestPublishTimeUs: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)` Called when the manifest with the publish time has been expired. |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) | [onDashManifestRefreshRequested](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/PlayerEmsgHandler.PlayerEmsgCallback#onDashManifestRefreshRequested())`()` Called when the current manifest should be refreshed.                                                                                                                                 |

## Public functions

### onDashManifestPublishTimeExpired

```
fun onDashManifestPublishTimeExpired(expiredManifestPublishTimeUs: Long): Unit
```

Called when the manifest with the publish time has been expired.  

|                                                  Parameters                                                   |
|---------------------------------------------------------------------------------------------------------------|--------------------------------------------------|
| `expiredManifestPublishTimeUs: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) | The manifest publish time that has been expired. |

### onDashManifestRefreshRequested

```
fun onDashManifestRefreshRequested(): Unit
```

Called when the current manifest should be refreshed.