teardownConnection

Close the connection and free all associated resources.

Parameters

deviceId

The deviceId associated with current connection. The deviceId can be obtained by calling getDeviceId() or from the payload in the ProgressEvents.Events.Disconnect event