GymVisitMode

How the member chose to record gym visits during mobile setup.

Pass a value to com.advantahealth.api.settings.ApplicationSettings.updateMobileSetup; the SDK sends the serverName wire string as the gymVisit field, which the backend binds by name.

Entries

Link copied to clipboard

Visits are captured automatically (geofence/beacon presence). Serializes as "Automatic".

Link copied to clipboard

Visits are recorded manually by the member. Serializes as "Manual".

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 identifier the backend uses for this mode.

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.