What is BroadcastReceiver and when we use it?

后端 未结 6 1634
-上瘾入骨i
-上瘾入骨i 2020-12-08 18:42

What is a BroadcastReceiver? What are its uses and how can I use it?

6条回答
  •  感情败类
    2020-12-08 19:14

    In simple terms

    A broadcast receiver is basically an interface that you can implement so that your app can subscribe to system changes like when the system has finished booting, or a charger is connected/disconnected or airplane mode is switched on/off etc.

提交回复
热议问题