Neutralino.app
Neutralino.app
namespace contains methods related to the current application instance.
Neutralino.app
Neutralino.app
namespace contains methods related to the current application instance.
app.exit(exitCode)
Terminates the running application.
Parameters
diff --git a/docs/api/clipboard/index.html b/docs/api/clipboard/index.html index 8d87c75f..07bfb570 100644 --- a/docs/api/clipboard/index.html +++ b/docs/api/clipboard/index.html @@ -12,11 +12,11 @@ - - + + -Neutralino.clipboard
Neutralino.clipboard
namespace offers functions to access system clipboard.
Neutralino.clipboard
Neutralino.clipboard
namespace offers functions to access system clipboard.
clipboard.getFormat()
Returns the current data format of the system clipboard.
Return String (awaited):
diff --git a/docs/api/computer/index.html b/docs/api/computer/index.html index 358acaad..1258450c 100644 --- a/docs/api/computer/index.html +++ b/docs/api/computer/index.html @@ -12,11 +12,11 @@ - - + + -Neutralino.computer
Neutralino.computer
namespace contains methods related to the user's hardware.
Neutralino.computer
Neutralino.computer
namespace contains methods related to the user's hardware.
computer.getMemoryInfo()
Returns system memory statistics in bytes.
Return Object (awaited):
diff --git a/docs/api/custom/index.html b/docs/api/custom/index.html index a0e55e35..6127965c 100644 --- a/docs/api/custom/index.html +++ b/docs/api/custom/index.html @@ -12,11 +12,11 @@ - - + + -Neutralino.custom
Neutralinojs offers the extensions API to write custom backend code with any programming language, +
Neutralino.custom
Neutralinojs offers the extensions API to write custom backend code with any programming language, but extensions come with the following drawbacks that affect apps in several scenarios:
- Extensions use a shared WebSocket for communication, so using direct C++ references
diff --git a/docs/api/debug/index.html b/docs/api/debug/index.html
index c494253a..468c7bf6 100644
--- a/docs/api/debug/index.html
+++ b/docs/api/debug/index.html
@@ -12,11 +12,11 @@
-
-
+
+
-
Neutralino.debug
+Neutralino.debug
namespace contains application debugging utilities.Neutralino.debug
Neutralino.debug
namespace contains application debugging utilities.debug.log(message, type)
Writes messages to
neutralinojs.log
file or/and standard output streams.tipIf your application is running via
-neu run
, you can see log diff --git a/docs/api/error-codes/index.html b/docs/api/error-codes/index.html index c764a591..cdf2a914 100644 --- a/docs/api/error-codes/index.html +++ b/docs/api/error-codes/index.html @@ -12,11 +12,11 @@ - - + +Error Codes
If a particular native API call fails, Neutralinojs client library rejects the pending Promise with an error object.
++Error Codes
If a particular native API call fails, Neutralinojs client library rejects the pending Promise with an error object.
The error object has the following structure:
{
code: "<code>",
message: "<message>"
}-
@@ -24,6 +24,6 @@
message
String: Error message
Native API error codes
-Error code Message Thrown by NE_FS_DIRCRER
Unable to create directory. os.createDirectory
NE_FS_REMVERR
Unable to remove path. os.remove
NE_OS_TRAYIER
Unable to initialize the tray menu. This error is typically thrown when GNU/Linux systems don't contain an app indicator library. os.setTray
NE_FS_FILRDER
File read error. filesystem.readFile
,filesystem.readBinaryFile
NE_FS_FILWRER
File write error. filesystem.writeFile
,filesystem.writeBinaryFile
NE_FS_FILOPER
File open error. filesystem.openFile
NE_FS_UNLTOUP
Unable to update opened file id. filesystem.updateOpenedFile
NE_FS_UNLTFOP
Unable to find opened file id. filesystem.getOpenedFileInfo
NE_FS_NOPATHE
No file or directory. filesystem.getStats
,filesystem.readDirectory
NE_FS_COPYERR
Copy error. filesystem.copy
NE_FS_MOVEERR
Move error. filesystem.move
NE_FS_UNLCWAT
Unable to create watcher. filesystem.createWatcher
NE_FS_NOWATID
Unable to find watcher. filesystem.removeWatcher
NE_OS_UNLTOUP
Unable to update the spawned process due to an invalid process identifier or action. os.updateSpawnedProcess
NE_OS_INVMSGA
Invalid message box arguments. os.showMessageBox
NE_OS_INVKNPT
Invalid platform path name. os.getPath
NE_ST_INVSTKY
Invalid storage key. storage.getData
,storage.setData
NE_ST_STKEYWE
Storage write error. storage.setData
NE_RT_INVTOKN
Invalid access token. all
NE_RT_NATPRME
No permission to execute the provided native method. all
,NE_RT_APIPRME
No permission to use the native API. all
NE_RT_NATRTER
Native method runtime error. Mostly occured due to missing parameters. all
NE_RT_NATNTIM
Native method is not implemented. internal
NE_CL_NSEROFF
Neutralino server is not reachable. all
NE_EX_EXTNOTC
Extension is not connected yet extensions.dispatch
NE_UP_CUPDMER
Invalid update manifest or mismatching applicationId updater.checkForUpdates
NE_UP_CUPDERR
Unable to fetch update manifest updater.checkForUpdates
NE_UP_UPDNOUF
No update manifest loaded updater.install
NE_UP_UPDINER
Update installation error updater.install
Error code Message Thrown by NE_FS_DIRCRER
Unable to create directory. os.createDirectory
NE_FS_REMVERR
Unable to remove path. os.remove
NE_OS_TRAYIER
Unable to initialize the tray menu. This error is typically thrown when GNU/Linux systems don't contain an app indicator library. os.setTray
NE_FS_FILRDER
File read error. filesystem.readFile
,filesystem.readBinaryFile
NE_FS_FILWRER
File write error. filesystem.writeFile
,filesystem.writeBinaryFile
NE_FS_FILOPER
File open error. filesystem.openFile
NE_FS_UNLTOUP
Unable to update opened file id. filesystem.updateOpenedFile
NE_FS_UNLTFOP
Unable to find opened file id. filesystem.getOpenedFileInfo
NE_FS_NOPATHE
No file or directory. filesystem.getStats
,filesystem.readDirectory
NE_FS_COPYERR
Copy error. filesystem.copy
NE_FS_MOVEERR
Move error. filesystem.move
NE_FS_UNLCWAT
Unable to create watcher. filesystem.createWatcher
NE_FS_NOWATID
Unable to find watcher. filesystem.removeWatcher
NE_OS_UNLTOUP
Unable to update the spawned process due to an invalid process identifier or action. os.updateSpawnedProcess
NE_OS_INVMSGA
Invalid message box arguments. os.showMessageBox
NE_OS_INVKNPT
Invalid platform path name. os.getPath
NE_ST_INVSTKY
Invalid storage key. storage.getData
,storage.setData
NE_ST_STKEYWE
Storage write error. storage.setData
NE_RT_INVTOKN
Invalid access token. *
NE_RT_NATPRME
No permission to execute the provided native method. *
NE_RT_APIPRME
No permission to use the native API. *
NE_RT_NATRTER
Native method runtime error. Mostly occured due to missing parameters. *
NE_RT_NATNTIM
Native method is not implemented. internal
NE_CL_NSEROFF
Neutralino server is not reachable. *
NE_EX_EXTNOTC
Extension is not connected yet extensions.dispatch
NE_UP_CUPDMER
Invalid update manifest or mismatching applicationId updater.checkForUpdates
NE_UP_CUPDERR
Unable to fetch update manifest updater.checkForUpdates
NE_UP_UPDNOUF
No update manifest loaded updater.install
NE_UP_UPDINER
Update installation error updater.install
NE_RS_APIRQRF
The resources API works only if the resource file is loaded resources.*
NE_RS_FILNOTF
Unable to find the requested path in the resources bundle resources.readFile
,resources.readBinaryFile
,resources.extractFile