nx.js
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 MemberValueDescription
Application0Running as the foreground Application (an installed game/app).
Default-1Default — same as the value returned by libnx for an unspecified applet type.
LibraryApplet2Running as a Library Applet (e.g. hbmenu without a title override, or the on-screen keyboard).
None-2No applet type — the runtime is not running as a regular applet.
OverlayApplet3Running as an Overlay Applet (e.g. the screenshot/album overlay).
SystemApplet1Running as the system applet (e.g. the home menu).
SystemApplication4Running as a SystemApplication (background system service).

On this page