Package com.dynatrace.android.agent.conf
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserPrivacyOptions.BuilderBuilderis used to build instances ofUserPrivacyOptionsfrom values configured by the setters.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserPrivacyOptions.Builderbuilder()Constructs aUserPrivacyOptions.Builderobject.booleanequals(Object o)DataCollectionLevelgetDataCollectionLevel()Returns the specified data collection level.inthashCode()booleanisCrashReplayOptedIn()Returns the opt-in value for the crash replay feature.booleanisCrashReportingOptedIn()Returns the opt-in value for crash reporting.UserPrivacyOptions.BuildernewBuilder()Constructs aUserPrivacyOptions.Builderobject that is initialized with the values from this object.StringtoString()
-
-
-
Method Detail
-
builder
public static UserPrivacyOptions.Builder builder()
Constructs aUserPrivacyOptions.Builderobject.- Returns:
- a
UserPrivacyOptions.Builderobject
-
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
-
newBuilder
public UserPrivacyOptions.Builder newBuilder()
Constructs aUserPrivacyOptions.Builderobject that is initialized with the values from this object.- Returns:
- a
UserPrivacyOptions.Builderobject that is initialized with the values from this object
-
-