SessionState

constructor(phase: SessionPhase = SessionPhase.IDLE, activeSegmentIndex: Int? = null, activeSegment: Segment? = null, currentPitch: Float = -1f, currentAmplitude: Float = 0.0f, segmentProgress: Float = 0.0f, completedSegments: Set<Int> = emptySet(), error: String? = null)