© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
P. SpäthPro Android with Kotlinhttps://doi.org/10.1007/978-1-4842-8745-3_5

5. Broadcasts

Peter Späth1  
(1)
Leipzig, Germany
 

Android broadcasts are messages following the publish-subscribe pattern. They are sent across the Android OS, with the internals hidden by the Android OS , so both publishers and subscribers only see a lean asynchronous interface for sending and receiving messages. Broadcasts can be published by the Android OS itself, by standard apps, and by any other app installed on the system. Likewise, any app can be configured or programmed to receive broadcast messages it is interested in. As with activities, broadcasts can be explicitly or ...

Get Pro Android with Kotlin: Developing Modern Mobile Apps with Kotlin and Jetpack now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.