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 and Background modes -> Location updates checked in your target’s Capabilities section. And don’t forget to add usage description to Location Always Usage in you app’s info.plist.

    Declaration

    Swift

    case followMeMode