Share via


Instrumentation.CallActivityOnNewIntent(Activity, Intent) Method

Definition

Perform calling of an activity's Activity#onNewIntent method.

[Android.Runtime.Register("callActivityOnNewIntent", "(Landroid/app/Activity;Landroid/content/Intent;)V", "GetCallActivityOnNewIntent_Landroid_app_Activity_Landroid_content_Intent_Handler")]
public virtual void CallActivityOnNewIntent (Android.App.Activity? activity, Android.Content.Intent? intent);
[<Android.Runtime.Register("callActivityOnNewIntent", "(Landroid/app/Activity;Landroid/content/Intent;)V", "GetCallActivityOnNewIntent_Landroid_app_Activity_Landroid_content_Intent_Handler")>]
abstract member CallActivityOnNewIntent : Android.App.Activity * Android.Content.Intent -> unit
override this.CallActivityOnNewIntent : Android.App.Activity * Android.Content.Intent -> unit

Parameters

activity
Activity

The activity receiving a new Intent.

intent
Intent

The new intent being received.

Attributes

Remarks

Perform calling of an activity's Activity#onNewIntent method. The default implementation simply calls through to that method.

Java documentation for android.app.Instrumentation.callActivityOnNewIntent(android.app.Activity, android.content.Intent).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to