provideGroupingPreset

abstract fun provideGroupingPreset(kind: ContextualToolbarKind, capacity: Int, itemCount: Int, defaultPreset: List<ToolbarPresetEntry>): List<ToolbarPresetEntry>

Returns the preset to apply for kind at the given capacity.