nn::applet::CTR::WaitForRegister Function
bool WaitForRegister(
AppletId appletId,
nn::fnd::TimeSpan span = NN_APPLET_WAIT_INFINITE
);
| Name | Description | |
|---|---|---|
| in | appletId | The Applet ID. |
| in | span | Maximum wait time. |
true if the Applet having the specified ID is registered; otherwise, false. 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.
CONFIDENTIAL