TrackingConsent enum
Possible values for the Data Tracking Consent given by the user of the app.
This value should be used to grant the permission for Datadog SDK to store data collected in Logging / RUM and upload it to Datadog servers.
Values
- granted → const TrackingConsent
-
The permission to persist and send data to the Datadog servers was granted. Any previously stored pending data will be marked as ready for sent.
- notGranted → const TrackingConsent
-
Any previously stored pending data will be deleted and all Logging and RUM events will be dropped from now on, without persisting it in any way.
- pending → const TrackingConsent
-
All Logging and RUM events will be persisted in an intermediate location and will be pending there until TrackingConsent.granted or TrackingConsent.notGranted consent value is set. Based on the next consent value, intermediate data will be sent to Datadog or deleted.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.