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
suspendand must be called from a coroutine.Errors surface as
Throwableand should be handled at call sites.
Typical flows
App startup / dashboard: call getAvailablePrograms to show a user’s eligible programs.
Feature gating: call getAvailableFeatures to check if a feature should be enabled in UI.