runtime.connectNative()

Connects to a native application in the host machine.

Syntax

browser.runtime.connectNative(
  application // string
)

Parameters

application
string. The name of the registered application to connect to.

Return value

runtime.Port. Port through which messages can be sent and received with the application

Browser compatibility

EdgeFirefoxChromeOpera
Basic support?NoYes33
Firefox
Basic supportNo

Examples

Acknowledgements

This API is based on Chromium's chrome.runtime API. This documentation is derived from runtime.json in the Chromium code.

Document Tags and Contributors

 Contributors to this page: wbamberg
 Last updated by: wbamberg,