ParticipantAction
constructor(icon: ImageVector, label: String, firstToggleAction: Boolean = true, condition: (Call, ParticipantState) -> Boolean = { _, _ -> true }, action: CoroutineScope.(Call, ParticipantState) -> Unit = { _, _ -> })
Parameters
icon
the icon that represents the action.
label
the text that represents the action.
firstToggleAction
a boolean noting if this action is first of two (i.e. Pin is first = true, where Unpin is first=false)
condition
the condition if the action is to be shown or not.
action
the action (i.e. callable)