[android-components](../../index.md) / [mozilla.components.feature.media.state](../index.md) / [MediaStateMachine](index.md) / [stop](./stop.md)

# stop

`@Synchronized fun stop(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/media/src/main/java/mozilla/components/feature/media/state/MediaStateMachine.kt#L64)

Stop observing [Session](../../mozilla.components.browser.session/-session/index.md) and their [Media](../../mozilla.components.concept.engine.media/-media/index.md).

The [MediaState](../-media-state/index.md) will be reset to [MediaState.None](../-media-state/-none/index.md)

