stopSessionProcess

Submits a stop session command.

Return

either a SessionCommandFlow or an error. The SessionCommandFlow has a resultFlow that should be collected to get updates for the stop session process. Check the CommandResponseType in the SessionCommandResponse in order to understand the status of the stop session process. When you are finished collecting the flow you must call close() on the SessionCommandFlow to stop the polling process.

Parameters

sessionId

the session ID associated with the session to stop