Stops a foregrounding service that has been started using the startKeepAlive
method to prevent
Pega Mobile Client from being killed by the Android operating system.
In order for the service to actually stop, the stopKeepAlive
method must be called as many times, as the startKeepAlive
method was
called to start it.
On iOS, this method has no effect.
Name | Description | Type | Use |
---|---|---|---|
shouldForce | Calling the stopKeepAlive method with this parameter set to
"true" results in force stopping the foreground service. |
boolean |
optional |