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

# onReceiveBroadcast

`abstract 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#L40)

Handle actions the user selected in the site controls notification.

