[][src]Function sentry_contrib_native_sys::options_set_auto_session_tracking

pub unsafe extern "C" fn options_set_auto_session_tracking(
    opts: *mut Options,
    val: c_int
)

Enables or disables automatic session tracking.

Automatic session tracking is enabled by default and is equivalent to calling sentry_start_session after startup. There can only be one running session, and the current session will always be closed implicitly by sentry_shutdown, when starting a new session with sentry_start_session, or manually by calling sentry_end_session.