-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum TrackingConsent extends Enum<TrackingConsent>
The Consent enum class providing the possible values for the Data Tracking Consent flag.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PENDINGAny Log, Rum, Trace event will be persisted in a special location and will be pending there until we will receive one of the TrackingConsent.GRANTED or TrackingConsent.NOT_GRANTED flags. Based on the value of the consent flag we will decide what to do with the pending stored data.
NOT_GRANTEDAny previously stored pending data will be deleted and any Log, Rum, Trace event will be dropped from now on without persisting it in any way.
GRANTEDThe permission to persist and dispatch data to the Datadog Endpoints was granted. Any previously stored pending data will be marked as ready for sent.
-
Method Summary
Modifier and Type Method Description final StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
getOrdinal
final Integer getOrdinal()
-
-
-
-