Update Location When Stationary

By using this method updateLocationWhenStationary , location will update every x seconds when device goes to stationary state.

It will work on all tracking modes ie. active, passive, balance and distance based custom tracking except time based custom tracking.

Swift
Objective-C
Swift
Roam.updateLocationWhenStationary(interval-in-seconds)
Objective-C
[Roam updateLocationWhenStationary:<#(interval-in-seconds)#>];