nn::applet::CTR::GetSleepNotificationState FunctionAppletSleepNotificationState GetSleepNotificationState( void );
None.
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_ACCEPTED, or nn::applet::CTR::NOTIFY_AWAKE.
This is nn::applet::CTR::NOTIFY_QUERY after the application returns nn::applet::CTR::REPLY_LATER ("defer") to the sleep query callback. In this case, immediately return either nn::applet::CTR::REPLY_ACCEPT or nn::applet::CTR::REPLY_REJECT with the ReplySleepQuery function.
This is nn::applet::CTR::NOTIFY_ACCEPT when the ReplySleepQuery function returns nn::applet::CTR::REPLY_ACCEPT ("accept") to the callback.
This is nn::applet::CTR::NOTIFY_REJECT when the ReplySleepQuery function returns nn::applet::CTR::REPLY_REJECT ("reject") to the callback.
This is nn::applet::CTR::NOTIFY_SLEEP_ACCEPTED immediately before the system enters Sleep Mode. However, it is nearly impossible for applications to use this value.
This is nn::applet::CTR::NOTIFY_AWAKE after the system recovers from Sleep Mode.
CONFIDENTIAL