nn::applet::CTR::IsActive Function
bool IsActive(
void
);
None.
true in the active state and false otherwise. Determines whether an Applet is currently running.
An Applet is considered to be active when it is running; it is considered to be inactive when it has been interrupted by a call to a library applet or when control has moved to the HOME Menu.
Even if it is not active, callbacks are invoked. A sleep query callback is one example of this. You can even use this function within that callback to determine whether an application is currently running.
CONFIDENTIAL