pauseSession

open fun pauseSession()

Pauses tracking of a session. You should disable automatic session tracking via setAutoTrackSessions if you call this method.

You should call this at the appropriate time in your application when you wish to pause a session. Any subsequent errors which occur in your application will still be reported to Bugsnag but will not count towards your application's stability score. This can be advantageous if, for example, you do not wish the stability score to include crashes in a background service.

See also