nn::applet::CTR::GetSleepNotificationState Function

Syntax

AppletSleepNotificationState GetSleepNotificationState(
     void
);

Arguments

None.

Return Values

Returns the state.

Description

Gets the sleep notification state.

The return value is one of the following: nn::applet::CTR::NOTIFY_NONE, nn::applet::CTR::NOTIFY_SLEEP_QUERY, nn::applet::CTR::NOTIFY_SLEEP_ACCEPT, nn::applet::CTR::NOTIFY_SLEEP_REJECT, nn::applet::CTR::NOTIFY_SLEEP, or nn::applet::CTR::NOTIFY_AWAKE.

This is nn::applet::CTR::NOTIFY_QUERY after the sleep query callback is invoked and returns nn::applet::CTR::REPLY_LATER. In this case, promptly reply using the ReplySleepQuery function.


CONFIDENTIAL