Tracking Profiles
Start/Stop a tracking profile using iOS SDK
Tracking profiles aim to simplify the Woosmap Geofencing SDK integration.
The concept of Tracking profile and the difference between each profile is explained in the Tracking profiles documentation
Start/Stop a tracking profile
Once you have initialized the SDK and the user has authorized background permissions, you can start tracking the user’s location.
To start tracking, call:
WoosmapGeofencing.shared.startTracking(configurationProfile: ConfigurationProfile.liveTracking)
To stop tracking, call:
WoosmapGeofencing.shared.stopTracking()
Tracking profile properties
Property | liveTracking | passiveTracking | visitsTracking |
---|---|---|---|
trackingEnable | true | true | true |
modeHighfrequencyLocation | true | false | false |
visitEnable | false | false | true |
classificationEnable | false | false | true |
radiusDetectionClassifiedZOI | null | null | 100 |
creationOfZOIEnable | false | false | true |
accuracyVisitFilter | null | null | 50 |
currentLocationTimeFilter | 0 | 0 | 0 |
currentLocationDistanceFilter | 0 | 0 | 0 |
searchAPIRequestEnable | true | true | false |
searchAPICreationRegionEnable | false | false | false |
searchAPITimeFilter | 0 | 0 | 0 |
searchAPIDistanceFilter | 0 | 0 | 0 |
distanceAPIRequestEnable | false | false | false |
distanceMode | null | null | null |
outOfTimeDelay | 300 | 300 | 300 |
dataDurationDelay | 30 | 30 | 30 |
Overload a tracking properties
Each Tracking Profile is defined in a Json file. If you need to adapt it to your specific use case, you can simply modify the Json file.
Some property has overload method like SearchAPIRequestEnable
property:
WoosmapGeofencing.shared.setSearchAPIRequestEnable(enable: true)
Was this article helpful?
Have more questions? Submit a request