restartSession

fun restartSession(fromSegment: Int = 0)

Restart the session from a clean state.

Clears all completed segments and results, resets to ready state. Use this for "Practice Again" functionality.

Parameters

fromSegment

Index of segment to start from (default 0)