[android-components](../../../index.md) / [mozilla.components.browser.state.action](../../index.md) / [MediaAction](../index.md) / [UpdateMediaVolumeAction](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`UpdateMediaVolumeAction(tabId: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, mediaId: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, volume: `[`Volume`](../../../mozilla.components.concept.engine.media/-media/-volume/index.md)`)`

Updates the [Media.Volume](../../../mozilla.components.concept.engine.media/-media/-volume/index.md) for the [MediaState.Element](../../../mozilla.components.browser.state.state/-media-state/-element/index.md) with id [mediaId](media-id.md) owned by the tab
with id [tabId](tab-id.md).

