Interface IMetricsConsentService
Namespace: Umbraco.Cms.Core.Services
Assembly: Umbraco.Core.dll
Syntax
public interface IMetricsConsentService
Methods
View SourceGetConsentLevel()
Declaration
TelemetryLevel GetConsentLevel()
Returns
Type | Description |
---|---|
TelemetryLevel |
SetConsentLevel(TelemetryLevel)
Declaration
void SetConsentLevel(TelemetryLevel telemetryLevel)
Parameters
Type | Name | Description |
---|---|---|
TelemetryLevel | telemetryLevel |
SetConsentLevelAsync(TelemetryLevel)
Declaration
Task SetConsentLevelAsync(TelemetryLevel telemetryLevel)
Parameters
Type | Name | Description |
---|---|---|
TelemetryLevel | telemetryLevel |
Returns
Type | Description |
---|---|
Task |