LiveUpdateOperation
enum LiveUpdateOperation
The lifecycle operation carried by a Live Update push, available via getOperation.
The Pushwoosh backend drives the full lifecycle of a Live Update through these three operations; the SDK reacts to each one when rendering:
- START — first push for an
activityId; posts the ongoing notification - UPDATE — a later push for the same
activityId; refreshes it in place - END — terminal push; dismisses the notification
START and UPDATE only; END dismisses without building a style.Entries
Functions
Link copied to clipboard
Parses the raw
op value from the pw_live JSON into an operation.Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.