AFHeartbeatOutcome

Entries

Link copied to clipboard

The POST returned a 2xx — payload is in AFHeartbeatStatus.heartbeatId etc.

Link copied to clipboard

Suppressed: heartbeat is disabled by the consumer. See AFCore.setHeartbeatEnabled. This is the highest-priority guard — opted-out consumers never incur a token check, a permission probe, or a GPS warmup.

Link copied to clipboard

Suppressed: no access token in preferences.

Link copied to clipboard

Suppressed: host app does not hold foreground location permission.

Link copied to clipboard

Suppressed: a heartbeat fired within the throttle window (30 s).

Link copied to clipboard

Suppressed: the platform returned no fresh fix and no last-known location.

Link copied to clipboard

POST attempted; no HTTP response received (offline, DNS, timeout).

Link copied to clipboard

POST returned a non-2xx HTTP status — see AFHeartbeatStatus.httpCode.

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

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.