[android-components](../../../index.md) / [mozilla.components.feature.pwa.feature](../../index.md) / [SiteControlsBuilder](../index.md) / [Default](index.md) / [onReceiveBroadcast](./on-receive-broadcast.md)

# onReceiveBroadcast

`open fun onReceiveBroadcast(context: <ERROR CLASS>, session: `[`Session`](../../../mozilla.components.browser.session/-session/index.md)`, intent: <ERROR CLASS>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/pwa/src/main/java/mozilla/components/feature/pwa/feature/SiteControlsBuilder.kt#L58)

Overrides [SiteControlsBuilder.onReceiveBroadcast](../on-receive-broadcast.md)

Handle actions the user selected in the site controls notification.

