ActivityType

The kind of fitness or wellness activity a record represents.

A consumer receives an ActivityType on each activity returned from the Activities feature and uses it to pick an icon/label and to distinguish member-generated entries (e.g. self-reports, Fit @ Home) from automatic or partner-sourced ones. The type string is the exact wire key; map an incoming key back to an enum with getByKey.

Entries

Link copied to clipboard

Verified visit to a gym / facility.

Link copied to clipboard

SmartWalking step-tracking activity.

Link copied to clipboard

Fit @ Home self-recorded workout (one per day).

Link copied to clipboard

SpotIt mental-fitness session activity.

Link copied to clipboard

OpenFit partner activity.

Link copied to clipboard

Member-submitted self-reported visit.

Link copied to clipboard

NEOU partner activity.

Link copied to clipboard

Workouts partner activity.

Link copied to clipboard

MOVR partner activity.

Link copied to clipboard

Life Time Digital partner activity.

Link copied to clipboard

General wellness activity.

Link copied to clipboard

MyCarePath partner activity.

Link copied to clipboard

Fallback used when the backend key is not recognized.

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
val id: Int

The unique integer identifier for the activity type.

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

The string key representing the activity type, used for serialization and API communication.

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.