Instrumentation.CallActivityOnNewIntent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CallActivityOnNewIntent(Activity, Intent) |
Perform calling of an activity's |
CallActivityOnNewIntent(Activity, Intent, ComponentCaller) |
Same as |
CallActivityOnNewIntent(Activity, Intent)
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.
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
CallActivityOnNewIntent(Activity, Intent, ComponentCaller)
Same as #callActivityOnNewIntent(Activity, Intent)
, but with an extra parameter for
the ComponentCaller
instance associated with the app that sent the intent.
[Android.Runtime.Register("callActivityOnNewIntent", "(Landroid/app/Activity;Landroid/content/Intent;Landroid/app/ComponentCaller;)V", "GetCallActivityOnNewIntent_Landroid_app_Activity_Landroid_content_Intent_Landroid_app_ComponentCaller_Handler", ApiSince=35)]
public virtual void CallActivityOnNewIntent (Android.App.Activity activity, Android.Content.Intent intent, Android.App.ComponentCaller caller);
[<Android.Runtime.Register("callActivityOnNewIntent", "(Landroid/app/Activity;Landroid/content/Intent;Landroid/app/ComponentCaller;)V", "GetCallActivityOnNewIntent_Landroid_app_Activity_Landroid_content_Intent_Landroid_app_ComponentCaller_Handler", ApiSince=35)>]
abstract member CallActivityOnNewIntent : Android.App.Activity * Android.Content.Intent * Android.App.ComponentCaller -> unit
override this.CallActivityOnNewIntent : Android.App.Activity * Android.Content.Intent * Android.App.ComponentCaller -> unit
Parameters
- activity
- Activity
The activity receiving a new Intent.
- intent
- Intent
The new intent being received.
- caller
- ComponentCaller
The ComponentCaller
instance that launched the activity with the new
intent.
- Attributes
Remarks
Same as #callActivityOnNewIntent(Activity, Intent)
, but with an extra parameter for the ComponentCaller
instance associated with the app that sent the 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.