Class UserPrivacyOptions

java.lang.Object
com.dynatrace.android.agent.conf.UserPrivacyOptions

public final class UserPrivacyOptions extends Object
Represents the privacy settings that the user can select.
Since:
8.191
  • Method Details

    • builder

      public static UserPrivacyOptions.Builder builder()
      Constructs a UserPrivacyOptions.Builder object.
      Returns:
      a UserPrivacyOptions.Builder object
    • getDataCollectionLevel

      public DataCollectionLevel getDataCollectionLevel()
      Returns the specified data collection level.
      Returns:
      the specified data collection level
    • isCrashReportingOptedIn

      public boolean isCrashReportingOptedIn()
      Returns the opt-in value for crash reporting.
      Returns:
      the opt-in value for crash reporting
    • isCrashReplayOptedIn

      public boolean isCrashReplayOptedIn()
      Returns the opt-in value for the crash replay feature.
      Returns:
      the opt-in value for the crash replay feature
      Since:
      8.217
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • newBuilder

      public UserPrivacyOptions.Builder newBuilder()
      Constructs a UserPrivacyOptions.Builder object that is initialized with the values from this object.
      Returns:
      a UserPrivacyOptions.Builder object that is initialized with the values from this object