FootballMatchLiveData

data class FootballMatchLiveData(val homeTeamScore: Int, val awayTeamScore: Int, val status: MatchPhase, val statusChangedAt: Long?, val liveDataVersion: Int = 0)

Dynamic, real-time state of a football match Live Activity, delivered in the liveData field of start / update pushes. Mirrors the backend / iOS football match live data DTO.

Constructors

Link copied to clipboard
constructor(homeTeamScore: Int, awayTeamScore: Int, status: MatchPhase, statusChangedAt: Long?, liveDataVersion: Int = 0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Monotonic version of this live data, echoed back in analytics events.

Link copied to clipboard

Score formatted as "home:away".

Link copied to clipboard
Link copied to clipboard

Epoch millis when the current status was entered; used to compute the live minute.