pauseSession abstract method

Future<void> pauseSession()

Pauses tracking of a session. You should disable automatic session by setting autoTrackSessions to false in start.

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:

Implementation

Future<void> pauseSession();