nn::applet::CTR::WaitForRegister Function

Syntax

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

Arguments

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

Return Values

Returns true if it is registered or false otherwise.

Description

Waits only the specified amount of time for the applet that has the specified ID to be registered.

If NN_APPLET_WAIT_INFINITE is specified, this function waits until registration is complete. In other words, its return value is always true.

If NN_APPLET_NO_WAIT is specified, processing returns immediately. The return value is either true or false, depending on whether it was registered.


CONFIDENTIAL