isActive()
Returns true if this activity is currently active.
isActive(): boolean;
Related
class Activity
A class that represents a part of the application that can be activated when the user navigates to it.
Returns true if this activity is currently active.
isActive(): boolean;