Android.Content.Context.SendBroadcast Method
Broadcast the given intent to all interested BroadcastReceivers.

Syntax

[Android.Runtime.Register("sendBroadcast", "(Landroid/content/Intent;)V", "GetSendBroadcast_Landroid_content_Intent_Handler")]
public abstract void SendBroadcast (Intent intent)

See Also

BroadcastReceiver
Context.RegisterReceiver(BroadcastReceiver, Android.Content.IntentFilter)
Context.SendBroadcast(Intent, System.String)
Context.SendOrderedBroadcast(Intent, System.String)
Context.SendOrderedBroadcast(Intent, System.String, System.String, System.String, System.String, System.String, System.String)

Parameters

intent
The Intent to broadcast; all receivers matching this Intent will receive the broadcast.

Remarks

Broadcast the given intent to all interested BroadcastReceivers. This call is asynchronous; it returns immediately, and you will continue executing while the receivers are run. No results are propagated from receivers and receivers can not abort the broadcast. If you want to allow receivers to propagate results or abort the broadcast, you must send an ordered broadcast using Context.SendOrderedBroadcast(Intent, System.String).

See Android.Content.BroadcastReceiver for more information on Intent broadcasts.

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1