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

# onReceiveBroadcast

`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#L118)

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

Handle actions the user selected in the site controls notification.

