Methods
(static) callNative(portNumber, callback)
Please see the definition of module:thaliMobileNativeWrapper.startUpdateAdvertisingAndListening.
However, in addition to what is written there, when the system receives an
incoming connection it will do so by initiating a single TCP/IP connection to
the port given below in portNumber. If the non-TCP connection from which
the content in the TCP/IP connection is sourced should terminate for any
reason then the TCP/IP connection MUST also be terminated. If the TCP
connection to portNumber is terminated for any reason then the associated
non-TCP connection MUST be terminated.
Parameters:
| Name | Type | Description |
|---|---|---|
portNumber |
number | The port on 127.0.0.1 that any incoming connections over the native non-TCP/IP transport should be bridged to. |
callback |
module:thaliMobileNative~ThaliMobileCallback |