Mobile Setup
class MobileSetup(var isSetupFinished: Boolean = false, var isEulaAccepted: Boolean = false, var setupScreens: List<SetupScreen> = emptyList())
The member's mobile app setup (onboarding) state as recorded by the backend.
Fetched via com.advantahealth.api.settings.ApplicationSettings.getMobileSetup and written via com.advantahealth.api.settings.ApplicationSettings.updateMobileSetup. Use it to decide whether to route the member through the onboarding flow and which screens that flow should present.
Constructors
Link copied to clipboard
constructor(isSetupFinished: Boolean = false, isEulaAccepted: Boolean = false, setupScreens: List<SetupScreen> = emptyList())
Properties
Link copied to clipboard
true once the member has accepted the end-user license agreement.
Link copied to clipboard
true once the member has completed the mobile setup flow.
Link copied to clipboard
The backend-driven list of setup screens, each with a SetupScreen.screenKey identifying the screen and a SetupScreen.skip flag. Empty when the backend does not drive the screen list.