isErr
Movement SDK
Foursquare Movement SDK for Android provides several features to enhance location tracking.
Key Classes
FoursquareLocation
- Represents a location in the Foursquare system.
Journey
- Represents a journey taken by a user.
Companion
- Reference to companion types within various classes.
Journey Status
- PENDING: Journey is pending.
- IN_PROGRESS: Journey is currently in progress.
- APPROACHING: User is approaching the destination.
- ARRIVED: User has arrived at the destination.
- COMPLETED: Journey is completed.
- CANCELED: Journey has been canceled.
Destination Types
- VENUE: Represents a venue destination.
- GEOFENCE: Represents a geofence destination.
Geofence Types
- VENUE: Geofence defined by a venue.
- LATLNG: Geofence defined by latitude/longitude coordinates.
- POLYGON: Geofence defined by a polygon.
Movement SDK Functions
Notification Handling
- Handles notifications related to movement and location changes.
Error Handling
JourneyException
- Handles exceptions related to journey processing.
Reasons
- LOCATION_NOT_AVAILABLE: The location is not available.
- NETWORK_ERROR: There was a network error during processing.
User Info
Gender Types
- MALE: Male gender.
- FEMALE: Female gender.
- NOT_SPECIFIED: Gender not specified.
User States
- TRAVELING: User is traveling.
- COMMUTING: User is commuting between locations.
- STATE: Represents the state of the user.
Log Levels
- ALL: All log levels.
- DEBUG: Debug log level for detailed logs.
- INFO: Information log level.
- WARN: Warning log level.
- ERROR: Error log level for critical issues.
Miscellaneous
Class: MovementSdk
- Main class for the Movement SDK managing its functionalities.