Docs (4.0.0)
class Activity method

activateAsync

Activates the activity asynchronously.

activateAsync(): 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 activated.
  • After activation, the activity’s ready() method is called automatically.

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.