methods/breakout_rooms_methods/breakout_timer library
Classes
- BreakoutCountdown
- Time left on the breakout timer, ticking once a second; nothing when no timer runs.
- BreakoutTimer
- The page-wide breakout timer. Listen to notifier; apply server updates with set.
- BreakoutTimerState
- BreakoutValidationResult
Constants
-
breakoutDurationChoices
→ const List<
MapEntry< String, int> > - Timer lengths offered when starting breakout rooms (seconds; 0 = no timer). Server bounds: 60 s to 8 h.
- breakoutWarningBefore → const Duration
- The warning comes this long before the end.
Functions
-
formatBreakoutRemaining(
int? ms) → String - "4:05", "1:02:03".
-
validateBreakoutRooms(
List< List< rooms, {int? itemPageLimit, bool allowEmptyRooms = false}) → BreakoutValidationResultString> > - The host's room plan, checked before it is sent, with the server's own reasons (the server checks again). Starting needs at least one assigned participant and no empty room; an edit of running rooms may leave rooms empty. A name may be in one room only.