Package-level declarations
Location data: favorites, map markers, nominations, problem reports, categories, types and search filters.
Types
The filter block shared by Locations.getLocationsByViewPort and Locations.getLocationsByRadius.
A location the member has a favorite relationship with, joined with the location's own data - the Locations API's replacement for the legacy VerifiedClubs list (Facility). Returned by Locations.getFavorites and by every favorite mutation.
A category a nomination can be filed under - for example fitness (gyms and clubs) or retail (stores). Returned by Locations.getLocationCategories.
The member's relationship with a saved location: whether it is one of the member's places, and whether it produces notifications, visit events and visits.
An advanced location marker returned by com.advantahealth.api.locations.Locations.getLocationsByViewPort or com.advantahealth.api.locations.Locations.getLocationsByRadius - the full place record behind a map pin.
The postal address of a LocationMarker - the same fields a nomination or a problem report uses, grouped here. Each field is null when the server did not send it.
Where a LocationMarker is filed in the location catalog: its place type and the category above it, with the ids and codes that getLocationCategories / getLocationTypes list and that AdvancedLocationFilter filters by. Use categoryCode to tell a gym ("FITNESS") from a store ("RETAIL").
Opening hours of a LocationMarker, as the server reports them.
The current member's relationship with a favorited or excluded marker.
Where a LocationMarker sits on the map. A marker can only be drawn when both latitude and longitude are present.
One day of a LocationMarkerHours.weekly schedule. Times are strings as the server formats them, for example "05:00" and "22:00".
A new place nomination, sent with Locations.nominateLocation. Field requirements mirror the server contract: name, addressLine1, city, stateProvince, postalCode must be non-empty and locationTypeId must be a real type id (see getLocationTypes).
A problem report about an existing location, carrying the member's corrections as a structured patch. Sent with Locations.reportLocationProblem(locationId, report).
What is wrong with a location, on the canonical numeric 0-5 wire contract - the LocationProblemReport.problemType a member picks when reporting a problem with Locations.reportLocationProblem.
Sort direction of the submissions listing.
A page of advanced location markers from com.advantahealth.api.locations.Locations.getLocationsByViewPort or com.advantahealth.api.locations.Locations.getLocationsByRadius.
A place type a nomination can be filed under, each linked to its category. Returned by Locations.getLocationTypes; like the categories, the types are runtime data.
A place the member can pick while nominating, carrying the canonical Google place id the nomination is stored against - independent of whichever map SDK is drawing. Returned by Locations.searchPlaces and Locations.getRecentPlaceSearches.