deactivateAsync
Deactivates the activity asynchronously.
deactivateAsync(): Promise<void>
Notes
- If the activity is currently transitioning between active and inactive states, the transition will be allowed to finish before the activity is deactivated.
- Before deactivation, the activity’s view property is set to undefined, unlinking the current view object, if any.
Errors
- This method throws an error if the activity has been unlinked.
Related
- class ActivityA class that represents a part of the application that can be activated when the user navigates to it.