LiveActivityInfo class
Snapshot of a Live Activity currently tracked by the native SDK.
Android only for the football-match fields: the iOS ActivityKit
bookkeeping exposes just the identifiers, so everything below status is
null there. On Android they are populated for the
FOOTBALL_MATCH_TRACKING template and null for other templates.
Constructors
Properties
- awayScore → int?
-
Away team score.
final
- awayTeamName → String?
-
Away team name.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- homeScore → int?
-
Home team score.
final
- homeTeamName → String?
-
Home team name.
final
- id → String
-
Backend id of the live notification.
final
- phase → String?
-
Current match phase, e.g.
FIRST_HALF.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String?
-
Native tracking status, e.g.
active/ended.final - template → String?
-
Template name, e.g.
FOOTBALL_MATCH_TRACKING.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited