Virtual Fitness Partner
Known virtual-fitness partner integrations. The enum carries the static, well-known metadata for each partner — display name, marketing website, App Store + Play Store listings, Android package candidates, and iOS deep-link schemes — so consumers don't have to hard-code app identifiers in their own apps.
Use defaults to materialise a VirtualFitnessSignUpDetails seeded with the static catalog when the backend hasn't populated those fields, then overwrite VirtualFitnessSignUpDetails.signUpUrl / VirtualFitnessSignUpDetails.promoCode from the live API response:
val live = AFCore.virtualFitness().getNEOUSignUpDetails()
val merged = VirtualFitnessPartner.NEOU.merged(live)
launchPartner(merged.androidPackageNames!!, merged.websiteUrl!!)Entries
Properties
Functions
Build a VirtualFitnessSignUpDetails preloaded with this partner's catalog. Defaults can then be overwritten with the live VirtualFitnessSignUpDetails.signUpUrl / VirtualFitnessSignUpDetails.promoCode from the backend.
Merge this partner's static catalog into an existing details object — useful when the backend only returns VirtualFitnessSignUpDetails.signUpUrl / VirtualFitnessSignUpDetails.redirectUrl / VirtualFitnessSignUpDetails.promoCode and the consumer wants the app/scheme metadata too. Backend-provided values win; nulls are filled.
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.