getSessionState

suspend fun getSessionState(sessionId: String): SessionStatusFlow

When the flow exposed by SessionStatusFlow is collected the session will periodically be refreshed by making a call to the server for the latest status.

IMPORTANT: When the caller is finished collecting values from the flow for any reason SessionStatusFlow::close should be called to stop the polling.

Parameters

countryCode

the country code related to the session

partyId

the party ID related to the session

sessionId

the session ID related to the session