Android.App.PendingIntent.GetBroadcast Method
Retrieve a PendingIntent that will perform a broadcast, like calling Android.Content.Context.SendBroadcast(Android.Content.Intent).

Syntax

[Android.Runtime.Register("getBroadcast", "(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;", "")]
public static PendingIntent GetBroadcast (Android.Content.Context context, int requestCode, Android.Content.Intent intent, [Android.Runtime.GeneratedEnum] PendingIntentFlags flags)

Parameters

context
The Context in which this PendingIntent should perform the broadcast.
requestCode
Private request code for the sender
intent
The Intent to be broadcast.
flags
May be PendingIntent.FLAG_ONE_SHOT, PendingIntent.FLAG_NO_CREATE, PendingIntent.FLAG_CANCEL_CURRENT, PendingIntent.FLAG_UPDATE_CURRENT, or any of the flags as supported by Android.Content.Intent.FillIn(Android.Content.Intent, Android.Content.FillInFlags) to control which unspecified parts of the intent that can be supplied when the actual send happens.

Returns

Documentation for this section has not yet been entered.

Remarks

Retrieve a PendingIntent that will perform a broadcast, like calling Android.Content.Context.SendBroadcast(Android.Content.Intent).

For security reasons, the Android.Content.Intent you supply here should almost always be an explicit intent, that is specify an explicit component to be delivered to through Android.Content.Intent.setClass(android.content.Context, java.lang.Class<?>)

[Android Documentation]

Requirements

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