Update Location When Stationary (iOS)
Call the method to periodically pick up a user's location when they are stationary. Customize the time interval in seconds.
By using this method
updateLocationWhenStationary
, location will update every x
seconds when the device goes into a stationary state.Except for time-based custom tracking, this will operate in all tracking modes, including active, passive, balance, and distance based custom tracking.
Swift
Objective-C
Roam.updateLocationWhenStationary(interval-in-seconds)
[Roam updateLocationWhenStationary:<#(interval-in-seconds)#>];
Last modified 1mo ago