- Source:
Methods
(static) callNative(callback) → {null}
This method tells the native layer to stop advertising the presence of the peer, stop accepting incoming connections over the non-TCP/IP transport and to disconnect all existing non-TCP/IP transport connections.
Note that so long as advertising has stopped and there are no incoming connections or the ability to accept them then this method will return success. So, for example, if advertising was never started then this method will return success.
| Error String | Description |
|---|---|
| Stop Failed | Somehow the stop method couldn't do its job. Check the logs. |
Parameters:
| Name | Type | Description |
|---|---|---|
callback |
ThaliMobileCallback |
- Source:
Fires:
Throws:
-
Callback error
- Type
- Error
Returns:
- Type
- null