nn::applet::CTR::IsActive Function

Syntax

bool IsActive(
     void
);

Arguments

None.

Return Values

Returns true in the active state and false otherwise.

Description

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.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL