omni::extras::ConsentLevel

Defined in omni/extras/PrivacySettings.h

enum class omni::extras::ConsentLevel

Consent level names.

These consent levels control which types of structured log events produced by an app will be sent to telemetry servers for analysis. Each consent level will default to false before the privacy settings have been loaded.

Values:

enumerator ePerformance

Privacy consent level that corresponds to the PrivacySettings::kPerformanceKey setting name.

This consent level controls whether events such as hardware information, app performance statistics, resource usage levels, or crash reports will be sent to telemetry servers for analysis.

enumerator ePersonalization

Privacy consent level that corresponds to the PrivacySettings::kPersonalizationKey setting name.

This consent level controls whether events such as user app settings, window layouts, search keywords, etc will be sent to telemetry servers for analysis.

enumerator eUsage

Privacy consent level that corresponds to the PrivacySettings::kUsageKey setting name.

This consent level controls whether events such as user activity, app feature usage, extension usage, etc will be sent to the telemetry servers for analysis.

enumerator eCount

The total number of available consent levels.

This is not a valid consent level to query and will always return false.