Applet Manager services: Difference between revisions
No edit summary |
No edit summary |
||
Line 1,323: | Line 1,323: | ||
|} | |} | ||
Officially notification messages are handled by the application itself, not sdk-nso in ExeFS. Official apps call code in sdk-nso which basically uses svcWaitSynchronization with the event from [[#GetEventHandle]] to check whether a message is available, then if so it uses [[#ReceiveMessage]]. The actual handling for message IDs is done in the app itself(see [[# | Officially notification messages are handled by the application itself, not sdk-nso in ExeFS. Official apps call code in sdk-nso which basically uses svcWaitSynchronization with the event from [[#GetEventHandle]] to check whether a message is available, then if so it uses [[#ReceiveMessage]]. The actual handling for message IDs is done in the app itself(see [[#AppletMessage]]). | ||
[7.0.0+] User-processes now use BeginVrModeEx/EndVrModeEx instead of [[#SetVrModeEnabled]]. Prior to using using BeginVrModeEx, [[Parental_Control_services|pctl]] IsStereoVisionPermitted is used and error 0xD08E is thrown if not allowed by pctl. | [7.0.0+] User-processes now use BeginVrModeEx/EndVrModeEx instead of [[#SetVrModeEnabled]]. Prior to using using BeginVrModeEx, [[Parental_Control_services|pctl]] IsStereoVisionPermitted is used and error 0xD08E is thrown if not allowed by pctl. | ||
Line 1,331: | Line 1,331: | ||
=== ReceiveMessage === | === ReceiveMessage === | ||
No input. Returns an output | No input. Returns an output [[#AppletMessage]]. Error 0x680 indicates no message is available. | ||
=== GetThisAppletKind === | === GetThisAppletKind === | ||
Line 1,617: | Line 1,617: | ||
Takes an input u8 bool flag, no output. | Takes an input u8 bool flag, no output. | ||
See [[# | See [[#AppletMessage]]. | ||
=== SetScreenShotAppletIdentityInfo === | === SetScreenShotAppletIdentityInfo === | ||
Line 1,633: | Line 1,633: | ||
Takes an input u8 bool flag, no output. | Takes an input u8 bool flag, no output. | ||
See [[# | See [[#AppletMessage]]. | ||
When enabled with a non-Overlay applet, Overlay applet will not be notified of capture button short-presses for screenshots. | When enabled with a non-Overlay applet, Overlay applet will not be notified of capture button short-presses for screenshots. | ||
Line 1,674: | Line 1,674: | ||
Sets an internal state flag. When the input flag is 0, this will in additional run the same code as [[#ApproveToDisplay]]. | Sets an internal state flag. When the input flag is 0, this will in additional run the same code as [[#ApproveToDisplay]]. | ||
See [[# | See [[#AppletMessage]]. | ||
=== ApproveToDisplay === | === ApproveToDisplay === | ||
Line 1,753: | Line 1,753: | ||
Takes an input u8 bool, no output. | Takes an input u8 bool, no output. | ||
See [[# | See [[#AppletMessage]]. | ||
=== SetApplicationAlbumUserData === | === SetApplicationAlbumUserData === | ||
Line 2,157: | Line 2,157: | ||
=== NotifyMessageToHomeMenuForDebug === | === NotifyMessageToHomeMenuForDebug === | ||
Takes an input | Takes an input [[#AppletMessage]], no output. | ||
Stubbed, just returns an error. | Stubbed, just returns an error. | ||
Line 2,562: | Line 2,562: | ||
|} | |} | ||
=== | === AppletMessage === | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 2,584: | Line 2,584: | ||
| 0x5C || Screenshot was [[#SetAlbumImageTakenNotificationEnabled|taken]]. | | 0x5C || Screenshot was [[#SetAlbumImageTakenNotificationEnabled|taken]]. | ||
|} | |} | ||
This is "nn::am::AppletMessage". | |||
=== OperationMode === | === OperationMode === |