LocationType

The category of a facility or check-in location in ActiveFit.

Used to label and filter facilities in the UI (e.g. choosing an icon or grouping search results). Each entry carries a stable type wire string used for serialization; decode untrusted input with getByKey rather than valueOf so unknown categories fall back to CUSTOM instead of throwing.

For anything not covered here, use CUSTOM (pair it with a free-text customType field on the facility where available).

Entries

Link copied to clipboard

A commercial fitness club.

Link copied to clipboard

A general membership club.

Link copied to clipboard

A boutique or single-discipline studio (yoga, cycling, pilates, …).

Link copied to clipboard

A community or recreation center.

Link copied to clipboard

The member's home (e.g. for at-home workouts).

Link copied to clipboard

An employer / workplace fitness location.

Link copied to clipboard

An outdoor location such as a park or trail.

Link copied to clipboard

A virtual / online-only location with no physical address.

Link copied to clipboard

An aquatic center or pool facility.

Link copied to clipboard

A physical-therapy or rehabilitation clinic.

Link copied to clipboard

A spa or wellness retreat.

Link copied to clipboard

A health club (fitness plus broader wellness amenities).

Link copied to clipboard

A medically-supervised fitness facility.

Link copied to clipboard

A hotel or resort gym.

Link copied to clipboard

A multi-sport complex.

Link copied to clipboard

Anything outside the predefined categories; pair with a free-text custom type.

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 lowercase, snake-case wire identifier sent to / received from the backend for this category.

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.