Android Guides | Samples

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

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,String).

See 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