SortPreset

sealed interface SortPreset

Named sort presets controlling participant ordering.

Selected via CallState.setSortPreset(...). For ad-hoc comparators that don't fit a preset, use the existing CallState.updateParticipantSortingOrder(Comparator) escape hatch.

Inheritors

Types

Link copied to clipboard
data object Default : SortPreset

The default grid/continuous-scroll preset.

Link copied to clipboard

Livestream / audio-room preset. Role-aware: admins, hosts and speakers sort ahead of regular participants among those with the same activity profile.

Link copied to clipboard

Speaker-focused layout preset.