Package 

Enum TrackingConsent

  • 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
      PENDING

      Any 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_GRANTED

      Any 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.

      GRANTED

      The 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 String getName()
      final Integer getOrdinal()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait