ActivityStatus

The lifecycle state of a recorded activity, as reported by the backend.

A consumer receives an ActivityStatus on each activity returned from the Activities feature (e.g. visits, self-reports, SmartWalking entries) and uses it to drive UI such as badges, filtering, and delete-eligibility. The wrapped status string is the exact wire value used for serialization; map an incoming string back to an enum with getByKey.

Entries

Link copied to clipboard

Activity was approved and counts toward the member's incentive.

Link copied to clipboard

Activity was accepted; treated as approved for crediting purposes.

Link copied to clipboard

Activity finished successfully; treated as approved.

Link copied to clipboard

Activity is awaiting review and has not yet been credited.

Link copied to clipboard

Activity was denied by review and does not count.

Link copied to clipboard

Activity was rejected by review and does not count.

Link copied to clipboard

Activity was only partially credited.

Link copied to clipboard

Activity should be ignored (not surfaced or counted).

Link copied to clipboard

Fallback used when the backend status is unknown or unset.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard

true for the credited states (APPROVED, ACCEPTED, COMPLETED) — i.e. the activity counts toward the member's incentive — false for all other states.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int
Link copied to clipboard

The backend string representation of this status (e.g. "Approved"), used for API serialization and lookups.

Functions

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.