Skip to content

LocationSettings options

Valentin Tahon edited this page Jul 11, 2022 · 3 revisions

accuracy: Accuracy of location, default : LocationAccuracy.NAVIGATION

  • LocationAccuracy.NAVIGATION
  • LocationAccuracy.HIGH
  • LocationAccuracy.BALANCED
  • LocationAccuracy.POWERSAVE
  • LocationAccuracy.LOW

interval: Interval of request the service make in second only for Android, default : 5

distanceFilter: Distance in meter to trigger the callback, Default : 0

notificationTitle: Title of the notification only for Android, default : 'Start Location Tracking'

notificationMsg: Message of the notification, only for Android default : 'Track location in background'

notificationIcon: Image of the notification, only for Android, the icon should be in 'mipmap' directory. Default : App icon

wakeLockTime: Timeout in minutes for the service, only for Android, default : 60

autoStop: If true the service will stop as soon as app goes to background

Stop on app terminate

Clone this wiki locally