What is BroadcastReceiver and when we use it?

后端 未结 6 1647
-上瘾入骨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 18:59

    BroadCastReciever is an Android Component that helps you to know handle registered System Events or Application Events.

    For Example:

    System Events Such us : the screen has turned off, the battery is low, or a picture was captured.

    Applications can also initiate broadcasts—for example, to let other applications know that some data has been downloaded to the device and is available for them to use... etc

提交回复
热议问题