LiveActivityStatus enum

Lifecycle status of a Live Activity subscription.

Not every status is emitted on every platform — see the table in LIVE_ACTIVITIES.md. Code defensively and treat unknown values as LiveActivityStatus.unknown.

Inheritance
Available extensions

Values

registered → const LiveActivityStatus

The device was registered on the backend for this live notification.

Emitted on both platforms.

started → const LiveActivityStatus

The activity is now rendered on the device (Android notification / iOS Live Activity).

On Android this is only reported for the catch-up case — subscribing to an activity that is already running. Later start pushes are rendered by the native SDK without surfacing an event.

tokenRegistered → const LiveActivityStatus

The activity's update push token was registered with the backend, so it can receive further updates.

iOS only, diagnostic.

ended → const LiveActivityStatus

The activity finished (backend end event).

iOS only — on Android the SDK removes the notification on its own without surfacing an event.

unsubscribed → const LiveActivityStatus

The device was unregistered from the live notification.

Emitted on both platforms.

error → const LiveActivityStatus

Something went wrong — see LiveActivityStatusEvent.error.

unknown → const LiveActivityStatus

A status this version of the SDK does not know about.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<LiveActivityStatus>
A constant List of the values in this enum, in order of their declaration.