StreakProgress

sealed interface StreakProgress

Represents the customer's progress on a streak.

Inheritors

Properties

Link copied to clipboard
abstract val currentStreakLength: Int

Number of qualifying actions recorded in the current run. 0 when status is StreakStatus.INTERRUPTED.

Link copied to clipboard
abstract val longestStreakLength: Int

Highest currentStreakLength ever achieved by this customer on this streak. Retained across resets.

Link copied to clipboard

The upcoming milestones that are closest to the customer's current progress.