Perform the operation associated with this IntentSender, allowing the
caller to specify information about the Intent to use and be notified
when the send has completed.
[Android.Runtime.Register("sendIntent", "(Landroid/content/Context;ILandroid/content/Intent;Landroid/content/IntentSender$OnFinished;Landroid/os/Handler;Ljava/lang/String;)V", "GetSendIntent_Landroid_content_Context_ILandroid_content_Intent_Landroid_content_IntentSender_OnFinished_Landroid_os_Handler_Ljava_lang_String_Handler", ApiSince=14)]
public virtual void SendIntent (Android.Content.Context context, Android.App.Result code, Android.Content.Intent intent, Android.Content.IntentSender.IOnFinished onFinished, Android.OS.Handler handler, string requiredPermission);
abstract member SendIntent : Android.Content.Context * Android.App.Result * Android.Content.Intent * Android.Content.IntentSender.IOnFinished * Android.OS.Handler * string -> unit
override this.SendIntent : Android.Content.Context * Android.App.Result * Android.Content.Intent * Android.Content.IntentSender.IOnFinished * Android.OS.Handler * string -> unit
Parameters
context
intent
Result code to supply back to the IntentSender's target.
intent
Additional Intent data. See FillIn(Intent, FillInFlags) for information on how this is applied to the
original Intent. Use null to not modify the original Intent.
The object to call back on when the send has
completed, or null for no callback.
handler
Handler identifying the thread on which the callback
should happen. If null, the callback will happen from the thread
pool of the process.
requiredPermission
Name of permission that a recipient of the PendingIntent
is required to hold. This is only valid for broadcast intents, and
corresponds to the permission argument in
SendBroadcast(Intent, String).
If null, no permission is required.
Exceptions
Throws CanceledIntentException if the IntentSender
is no longer allowing more intents to be sent through it.
Remarks
Portions of this page are modifications based on work created and shared by the
Applies to