finish

fun finish(stopTime: Long, sessionEventCount: Int, meterStates: List<MeterState>): RunSummary

Converts the active run into an immutable, archived run. Requires a stop time and total event count to calculate the final run.