What is a Sticky Broadcast ?
What is a Sticky Broadcast ?
A Sticky Broadcast is a special type of broadcast in Android where the sent Intent object remains in a cache even after the broadcast is complete. The system may re-broadcast sticky Intents to later registrations of receivers.
Some key points about Sticky Broadcasts:
sendStickyBroadcast() which performs a sendBroadcast(Intent) known as stickyregisterReceiver(BroadcastReceiver, IntentFilter)Đăng nhập để tham gia thảo luận cùng mọi người.
Chưa có bình luận nào
Hãy là người đầu tiên chia sẻ suy nghĩ của bạn.