Question d’entretien chez Trantor

What is Broadcast Receiver in Android?

Réponse à la question d'entretien

Utilisateur anonyme

14 déc. 2024

A Broadcast Receiver in Android is a component that listens for system-wide or application-specific broadcast messages. It enables apps to respond to events or data changes, even when the app is not active. Types of Broadcasts: System Broadcasts: Sent by the Android system (e.g., battery low, network change). Custom Broadcasts: Sent by applications to communicate within the app or between apps.