*SDK Modes
Applicable for SDK version 5.9.0 and higher

SDK can work in two modes now:

Aggressive - heartbeats are sent every 20 minutes and SDK never sleeps.
Normal - heartbeats are sent every 20 minutes but when system suspends SDK, it gees to a sleep mode and will restore work only in trip start time.
Mode switcher - (void)setAggressiveHeartbeats:(BOOL)value; usage example:
1
[[RPEntry instance] setAggressiveHeartbeats: false];
Copied!
Check state - (BOOL)aggressiveHeartbeat; usage example:
1
[[RPEntry instance] aggressiveHeartbeat];
Copied!
Last modified 1yr ago
Copy link
Contents