[android-components](../../index.md) / [mozilla.components.feature.p2p.internal](../index.md) / [P2PInteractor](index.md) / [onReset](./on-reset.md)

# onReset

`fun onReset(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/p2p/src/main/java/mozilla/components/feature/p2p/internal/P2PInteractor.kt#L81)

Overrides [Listener.onReset](../../mozilla.components.feature.p2p.view/-p2-p-view/-listener/on-reset.md)

Resets the connection to the neighbor.

