Programs

interface Programs

Programs feature — retrieve available program entitlements and features for the member.

This interface provides operations to:

  • List the programs the member is entitled to (e.g., SmartWalking, Gym Visits, Fit@Home).

  • List the features available under those programs (e.g., specific tracking or content).

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
abstract suspend fun getAvailableFeatures(): List<ProgramFeature>

Retrieves the list of available features for the logged-in member.

Link copied to clipboard

Retrieves the list of available programs for the logged-in member.