VisitType

How a recorded visit was captured.

Distinguishes automatic, location-driven attendance from a member's manual entry — useful when rendering an activity row (icon/label) or applying the product rules around self-reports (an automatic visit can block a same-day self-report, etc.). Each entry carries a stable type wire string; decode untrusted input with get so an unrecognized value yields null rather than throwing.

Entries

Link copied to clipboard

Captured automatically by geofence entry/dwell at a verified facility.

Link copied to clipboard

Captured automatically by a Bluetooth beacon detected at the facility.

Link copied to clipboard

Entered manually by the member (a self-reported visit).

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 wire identifier sent to / received from the backend.

Functions

Link copied to clipboard
fun valueOf(value: String): VisitType

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.