sendBroadcast

This method equals with sendBroadcast . Notice that the Intent uses ACTION_SEND_RESOURCES_HOLDER action. So that, register your BroadcastReceiver with that action to make it able to receive the extra from Intent.

See sendViaLocalBroadcastManager

Parameters

key

key for the Intent

open fun sendBroadcast(context: Context, key: String)