Change Tracking Modes

You can dynamically change the SDK tracking or operating mode. Note that any changes to the tracking mode will presist across app launches.

For example, when the app is in the foreground, you can reset the tracking mode to Route by making the below call.

mMomentsClient.setFgTrackingMode(TrackingMode.Route);

Analogously, you can also reset the tracking mode when the app is in background, by making calls like below.

mMomentsClient.setBgTrackingMode(TrackingMode.MINIMAL_POWER);

For more details about the tracking modes, please review the section on SDK Tracking Modes.

Questions?

We are eager to hear from you and happy to share best practices for integrating the SDK. There are many ways for you to reach us:

But first, please sign up for an account with LOTaDATA so that we may send you the link to download our SDK.