Instrumentation.CallActivityOnSaveInstanceState 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
CallActivityOnSaveInstanceState(Activity, Bundle) |
Perform calling of an activity's |
CallActivityOnSaveInstanceState(Activity, Bundle, PersistableBundle) |
Perform calling of an activity's |
CallActivityOnSaveInstanceState(Activity, Bundle)
Perform calling of an activity's Activity#onSaveInstanceState
method.
[Android.Runtime.Register("callActivityOnSaveInstanceState", "(Landroid/app/Activity;Landroid/os/Bundle;)V", "GetCallActivityOnSaveInstanceState_Landroid_app_Activity_Landroid_os_Bundle_Handler")]
public virtual void CallActivityOnSaveInstanceState (Android.App.Activity activity, Android.OS.Bundle outState);
[<Android.Runtime.Register("callActivityOnSaveInstanceState", "(Landroid/app/Activity;Landroid/os/Bundle;)V", "GetCallActivityOnSaveInstanceState_Landroid_app_Activity_Landroid_os_Bundle_Handler")>]
abstract member CallActivityOnSaveInstanceState : Android.App.Activity * Android.OS.Bundle -> unit
override this.CallActivityOnSaveInstanceState : Android.App.Activity * Android.OS.Bundle -> unit
Parameters
- activity
- Activity
The activity being saved.
- outState
- Bundle
The bundle to pass to the call.
- Attributes
Remarks
Perform calling of an activity's Activity#onSaveInstanceState
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
CallActivityOnSaveInstanceState(Activity, Bundle, PersistableBundle)
Perform calling of an activity's Activity#onSaveInstanceState
method.
[Android.Runtime.Register("callActivityOnSaveInstanceState", "(Landroid/app/Activity;Landroid/os/Bundle;Landroid/os/PersistableBundle;)V", "GetCallActivityOnSaveInstanceState_Landroid_app_Activity_Landroid_os_Bundle_Landroid_os_PersistableBundle_Handler")]
public virtual void CallActivityOnSaveInstanceState (Android.App.Activity activity, Android.OS.Bundle outState, Android.OS.PersistableBundle outPersistentState);
[<Android.Runtime.Register("callActivityOnSaveInstanceState", "(Landroid/app/Activity;Landroid/os/Bundle;Landroid/os/PersistableBundle;)V", "GetCallActivityOnSaveInstanceState_Landroid_app_Activity_Landroid_os_Bundle_Landroid_os_PersistableBundle_Handler")>]
abstract member CallActivityOnSaveInstanceState : Android.App.Activity * Android.OS.Bundle * Android.OS.PersistableBundle -> unit
override this.CallActivityOnSaveInstanceState : Android.App.Activity * Android.OS.Bundle * Android.OS.PersistableBundle -> unit
Parameters
- activity
- Activity
The activity being saved.
- outState
- Bundle
The bundle to pass to the call.
- outPersistentState
- PersistableBundle
The persistent bundle to pass to the call.
- Attributes
Remarks
Perform calling of an activity's Activity#onSaveInstanceState
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.