Consecutive Action Streak Progress
data class ConsecutiveActionStreakProgress(val currentStreakLength: Int, val longestStreakLength: Int, val nextMilestones: List<StreakMilestoneReference>) : StreakProgress
Data class representing the customer's progress on a ConsecutiveActionStreak.
Parameters
current Streak Length
Number of qualifying actions recorded in the current run.
longest Streak Length
Highest currentStreakLength ever achieved by this customer. Retained across resets.
next Milestones
The upcoming milestones closest to the customer's current progress.
Constructors
Link copied to clipboard
constructor(currentStreakLength: Int, longestStreakLength: Int, nextMilestones: List<StreakMilestoneReference>)