Android Guides | Samples

Android.Content.Context.SendOrderedBroadcast Method

Broadcast the given intent to all interested BroadcastReceivers, delivering them one at a time to allow more preferred receivers to consume the broadcast before it is delivered to less preferred receivers.

Syntax

[Android.Runtime.Register("sendOrderedBroadcast", "(Landroid/content/Intent;Ljava/lang/String;)V", "GetSendOrderedBroadcast_Landroid_content_Intent_Ljava_lang_String_Handler")]
public abstract Void SendOrderedBroadcast (Intent intent, String receiverPermission)

See Also

Parameters

intent
The Intent to broadcast; all receivers matching this Intent will receive the broadcast.
receiverPermission
(optional) String naming a permissions that a receiver must hold in order to receive your broadcast. If null, no permission is required.

Remarks

Broadcast the given intent to all interested BroadcastReceivers, delivering them one at a time to allow more preferred receivers to consume the broadcast before it is delivered to less preferred receivers. This call is asynchronous; it returns immediately, and you will continue executing while the receivers are run.

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