LiveActivityTemplate enum
Built-in Live Activity (iOS) / Live Notification (Android) templates.
The raw values are the reverse-DNS identifiers Customer.io uses everywhere —
the notificationType on the wire, Android's LiveNotificationType, and
iOS's CIOSegmentsAttributes.identifier — so Dart, both native SDKs, and the
backend share one vocabulary. They are also the type inside
LiveActivityPayload maps.
Values
- segments → const LiveActivityTemplate
-
Segmented progress template (header, status, substatus, segment counts).
const LiveActivityTemplate(rawValue: 'io.customer.livenotifications.segments') - countdownTimer → const LiveActivityTemplate
-
Countdown timer template (header, title, status message, end time).
const LiveActivityTemplate(rawValue: 'io.customer.livenotifications.countdowntimer') - custom → const LiveActivityTemplate
-
Your own activity type, rendered by SwiftUI you write (iOS) and your
createLiveNotificationcallback (Android).Unlike the members above this raw value is a marker, not an identifier — the activity is named by
LiveActivitiesConfig.customTypeand reported under that name. It belongs in a payload's type, never inLiveActivitiesConfig.types.const LiveActivityTemplate(rawValue: 'custom')
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 - rawValue → String
-
final
- 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<
LiveActivityTemplate> - A constant List of the values in this enum, in order of their declaration.