MyCarePath

interface MyCarePath

MyCarePath feature — access the external MyCarePath wellness journey system.

MyCarePath is an external website that partners with Advanta to guide members through a wellness journey path. After completing the onboarding questionnaire, members select their personalized journey. Each completed course in MyCarePath counts towards the member’s activity participation in Advanta programs.

This interface provides operations to retrieve the access URL for MyCarePath, which can be opened in a web view or external browser.

Platform & threading

  • The function is suspend and must be called from a coroutine.

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

Typical flows

  • Accessing MyCarePath: call getMyCarePathAccessUrl to obtain the URL, then navigate the user to MyCarePath.

  • Deep-linking: optionally pass a MyCarePathSection or a tenant-configured page id to land the member on a specific MyCarePath page instead of the default dashboard.

Functions

Link copied to clipboard
abstract suspend fun getMyCarePathAccessUrl(section: MyCarePathSection? = null): String

Retrieves the personalized MyCarePath access URL.

abstract suspend fun getMyCarePathAccessUrl(pageId: String): String

Retrieves the personalized MyCarePath access URL for a tenant-configured page.

Link copied to clipboard
open fun info(): MyCarePathInfo

Static catalog metadata for the MyCarePath partner — display name, tagline, marketing URL. Synchronous (no network call) so consumers can build the entry tile at any point without waiting on a backend round-trip.