Package-level declarations
Types
Link copied to clipboard
class Activity(var type: ActivityType = ActivityType.UNRECOGNIZED, var statusType: ActivityStatus = ActivityStatus.IGNORE, var date: String, var name: String? = null, var iconRes: String? = null, var dateTimeUtc: String? = null, var metaData: ActivityMetaData? = null, var message: String? = null)
Activity model — a normalized record that has been accepted by the Mobile API.
Link copied to clipboard
class ActivityMetaData(var facilityId: Int? = null, var facilityName: String? = null, var address: String? = null, var city: String? = null, var state: String? = null, var details: String? = null, var timeSpent: Int? = null, var steps: Int? = null, var distance: Double? = null, var distanceUnit: String? = null, var calories: Double? = null, var activeMinutes: Int? = null, var lastSync: String? = null, var latitude: Double? = null, var longitude: Double? = null, var deviceType: DeviceType? = null, var facility: Facility? = null)
It contains metadata about the activity, most of the parameters can be null, with this information the activity data can be represented on a card
Link copied to clipboard
The lifecycle state of a recorded activity, as reported by the backend.
Link copied to clipboard
The kind of fitness or wellness activity a record represents.
Link copied to clipboard
class AFActivitiesSummary(var monthlySummary: MonthlySummary, var activities: List<Activity> = emptyList())
AFActivitiesSummary — container for activities data returned by com.advantahealth.api.activities.Activities.
Link copied to clipboard
A discrete change to the member's calendar / activities feed.
Link copied to clipboard
class MonthlySummary(var month: Int = 0, var year: Int = 0, var acceptedVisitGoalDays: Int = 0, var acceptedVisitDays: Int = 0, var acceptedActivities: Int = 0, var pendingActivities: Int = 0, var rejectedActivities: Int = 0)
Aggregated counts for a single calendar month, used to drive progress headers and incentive meters above an activity calendar.