nn::applet::CTR::WaitForRegister Function

Syntax

bool WaitForRegister(
     AppletId appletId,
     nn::fnd::TimeSpan span = NN_APPLET_WAIT_INFINITE
);

Parameters

Name Description
in appletId The Applet ID.
in span Maximum wait time.

Return Values

Returns true if the Applet having the specified ID is registered; otherwise, false.

Description

Waits for the Applet with the specified ID to be registered.

The amount of time to wait can be specified using the argument span.

If you specify a time, the function returns true if the Applet is already registered or if it is registered within that specified time; otherwise, it returns false.

If NN_APPLET_WAIT_INFINITE is specified in span, the function waits until the Applet is registered. The return value in this case is always true.

In NN_APPLET_NO_WAIT is specified in span, a check is made only once whether the Applet is registered and results are returned immediately.

Revision History

2011/06/14
Added information about values taken by the aprggg argument.
2010/11/10
Initial version.

CONFIDENTIAL