Enumerations
AppletType
The category of applet that an nx.js process is running as. Returned by
appletGetAppletType().
Most homebrew launched from hbmenu (without a title override) runs as
LibraryApplet. Installed NSPs and title-override hbmenu launches run as
Application. Some Switch.* APIs (notably Switch.WebApplet)
require Application mode.
Enumeration Members
| Enumeration Member | Value | Description |
|---|---|---|
Application | 0 | Running as the foreground Application (an installed game/app). |
Default | -1 | Default — same as the value returned by libnx for an unspecified applet type. |
LibraryApplet | 2 | Running as a Library Applet (e.g. hbmenu without a title override, or the on-screen keyboard). |
None | -2 | No applet type — the runtime is not running as a regular applet. |
OverlayApplet | 3 | Running as an Overlay Applet (e.g. the screenshot/album overlay). |
SystemApplet | 1 | Running as the system applet (e.g. the home menu). |
SystemApplication | 4 | Running as a SystemApplication (background system service). |