VirtualFitnessStatus

The member's enrolment state with a virtual-fitness partner.

Returned by com.advantahealth.api.virtualfitness.VirtualFitness.getNEOUStatus and com.advantahealth.api.virtualfitness.VirtualFitness.getLifetimeDigitalStatus. The three states drive three different screens: NOT_ENROLLED sends the member through partner sign-up, CONNECTED opens the partner's content, and ACCOUNT_DISABLED tells them the partnership was switched off — a distinction a boolean cannot carry. Each entry wraps the backend's statusId; decode untrusted input with getByKey rather than valueOf so an id added server-side later falls back instead of throwing.

Entries

Link copied to clipboard

No partner account is linked to the member; drive them through sign-up.

Link copied to clipboard

The partner account is linked and active; activities sync to Advanta.

Link copied to clipboard

The partner account exists but is disabled; content stays locked.

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
expect val name: String
Link copied to clipboard
expect val ordinal: Int
Link copied to clipboard

The wire id the backend reports for this state.

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.