AlertingServiceWorkMode
public enum AlertingServiceWorkMode: Int
AlertingService
‘s work mode.
-
Inactive mode.
AlertingService
do not track your user’s location and do not try to update its location.Declaration
Swift
case staticMode
-
Active mode.
AlertingService
is tracking your user’s location and do not try to update its location.Note
Alerting Service SDK is using the least energy conusamble option for tracking user’s location.
Note
In order to track user’s location you app must receive
Location Always Usage
permission andBackground modes -> Location updates
checked in your target’sCapabilities
section. And don’t forget to add usage description toLocation Always Usage
in you app’s info.plist.Declaration
Swift
case followMeMode