[android-components](../../../index.md) / [mozilla.components.concept.engine.media](../../index.md) / [Media](../index.md) / [Observer](index.md) / [onVolumeChanged](./on-volume-changed.md)

# onVolumeChanged

`open fun onVolumeChanged(media: `[`Media`](../index.md)`, volume: `[`Volume`](../-volume/index.md)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/engine/src/main/java/mozilla/components/concept/engine/media/Media.kt#L66)

Notify the observer that media volume changed.

