onDeviceDisconnected
Called when the remote mdoc device disconnects normally, that is using the session termination functionality in the underlying protocols.
If this is called the application should call .disconnect and the object should no longer be used.
Parameters
transportSpecificTermination
set to true
if the termination mechanism used was transport specific.