sessionInactivityThreshold property
The maximum time of user inactivity before starting a new session.
If the app remains in the foreground but no activity is detected for this duration, a new session will be started when activity resumes. Defaults to 30 minutes.
Implementation
final Duration sessionInactivityThreshold;