[][src]Function sentry_contrib_native_sys::options_set_require_user_consent

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

Enables or disabled user consent requirements for uploads.

This disables uploads until the user has given the consent to the SDK. Consent itself is given with sentry_user_consent_give and sentry_user_consent_revoke.