Package com.dynatrace.android.agent.conf
Class UserPrivacyOptions
java.lang.Object
com.dynatrace.android.agent.conf.UserPrivacyOptions
Represents the privacy settings that the user can select.
- Since:
- 8.191
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder
is used to build instances ofUserPrivacyOptions
from values configured by the setters. -
Method Summary
Modifier and TypeMethodDescriptionstatic UserPrivacyOptions.Builder
builder()
Constructs aUserPrivacyOptions.Builder
object.boolean
Returns the specified data collection level.int
hashCode()
boolean
Returns the opt-in value for the crash replay feature.boolean
Returns the opt-in value for crash reporting.Constructs aUserPrivacyOptions.Builder
object that is initialized with the values from this object.toString()
-
Method Details
-
builder
Constructs aUserPrivacyOptions.Builder
object.- Returns:
- a
UserPrivacyOptions.Builder
object
-
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
-
hashCode
public int hashCode() -
toString
-
newBuilder
Constructs aUserPrivacyOptions.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
-