TrackingConsent enum
To be compliant with the GDPR regulation, the SDK requires the trackingConsent value at initialization
Constructors
- TrackingConsent()
-
const
Values
- granted → const TrackingConsent
-
The SDK starts collecting the data and sends it to Datadog.
- notGranted → const TrackingConsent
-
The SDK does not collect any data: logs, traces, and RUM events are not sent to Datadog.
- pending → const TrackingConsent
-
The SDK starts collecting and batching the data but does not send it to Datadog. The SDK waits for the new tracking consent value to decide what to do with the batched data.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
TrackingConsent> - A constant List of the values in this enum, in order of their declaration.