ApplicationSettings

Application Settings feature — retrieve app-level settings and membership status.

This interface provides operations to:

  • Fetch ActiveFit application configuration values.

  • Check whether the member’s membership is active.

  • Generate invitation messages to invite colleagues.

Platform & threading

  • All functions are suspend and must be called from a coroutine.

  • Errors surface as Throwable and should be handled at call sites.

Typical flows

Functions

Link copied to clipboard

Generates an invitation message for inviting a colleague.

Link copied to clipboard
abstract suspend fun getActiveFitSettings(): ActiveFitConfig

Retrieves the ActiveFit application settings.

Link copied to clipboard
abstract suspend fun isMembershipActive(): AFResult

Checks if the user’s membership is active.