Package-level declarations
Types
Link copied to clipboard
class Activity(var type: ActivityType? = null, var name: String? = null, var iconRes: String? = null, var statusType: ActivityStatus = ActivityStatus.IGNORE, var date: 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)
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
Link copied to clipboard
Represents the type of activity that was recorded
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
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)
A summary of all the recorded activities within the month/year period, it does not contain the metadata of each activity