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
A LiveUpdateProgressStyleProvider is consulted on START and UPDATE only; END dismisses without building a style.

Entries

Link copied to clipboard

First push for an activityId; the live update is posted.

Link copied to clipboard

Subsequent push for an existing activityId; the live update is refreshed in place.

Link copied to clipboard

Terminal push; the live update is dismissed.

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.