FootballMatchConfiguration

data class FootballMatchConfiguration(val template: LiveActivityTemplate, val content: FootballMatchContent, val design: FootballMatchAndroidDesign?, val statusLabels: Map<String, String>, val actions: List<LiveActivityAction>, val timeoutMinutes: Int?, val url: String?)

Static configuration of a football match Live Activity, delivered in the configuration field of the start push. Mirrors the backend / iOS football match configuration DTO.

Constructors

Link copied to clipboard
constructor(template: LiveActivityTemplate, content: FootballMatchContent, design: FootballMatchAndroidDesign?, statusLabels: Map<String, String>, actions: List<LiveActivityAction>, timeoutMinutes: Int?, url: String?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val url: String?

Functions

Link copied to clipboard
fun label(status: MatchPhase): String

Display label for the given match phase. Falls back to the OTHER label, then to MatchPhase.displayText when the backend provides no override.