APT:InquireNotification

From 3dbrew
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Request

Index Word Description
0 Header code [0x000B0040]
1 AppID

Response

Index Word Description
0 Header code
1 Result code
2 u8 Signal Type

Signal Types

Type Description
0x1 Home button pressed.
0x2 Sleep-mode related?
0x3 This indicates that the system is preparing to enter sleep-mode.
0x4 ?
0x5 This indicates that the system is entering sleep-mode.
0x6 This indicates that the system is leaving sleep-mode.
0x7 System is shutting down / power-button related?
0x8 Power button pressed while application is running.
0x9 ?
0xA This indicates that the process should use command APT:SleepSystem.
0xB ?

These signals are triggered regardless of whether the process using this command is currently active(like with a suspended application).