public class PrivacyConfiguration
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static PrivacyConfiguration |
from(AbstractOpenKitBuilder builder)
Create a
PrivacyConfiguration from given AbstractOpenKitBuilder. |
CrashReportingLevel |
getCrashReportingLevel()
Get the crash reporting level.
|
DataCollectionLevel |
getDataCollectionLevel()
Get the data collection level.
|
boolean |
isActionReportingAllowed()
Gives a boolean indicating whether reporting actions is allowed or not.
|
boolean |
isCrashReportingAllowed()
Gives a boolean indicating whether reporting crashes is allowed or not.
|
boolean |
isDeviceIDSendingAllowed()
Gives a boolean indicating whether sending the device identifier is allowed or not.
|
boolean |
isErrorReportingAllowed()
Gives a boolean indicating whether reporting errors is allowed or not.
|
boolean |
isEventReportingAllowed()
Gives a boolean indicating whether reporting events is allowed or not.
|
boolean |
isSessionNumberReportingAllowed()
Gives a boolean indicating whether sending the session number is allowed or not.
|
boolean |
isSessionReportingAllowed()
Gives a boolean indicating whether reporting ended sessions is allowed or not.
|
boolean |
isUserIdentificationAllowed()
Gives a boolean indicating whether identifying users is allowed or not.
|
boolean |
isValueReportingAllowed()
Gives a boolean indicating whether reporting values is allowed or not.
|
boolean |
isWebRequestTracingAllowed()
Gives a boolean indicating whether tracing web requests is allowed or not.
|
public static PrivacyConfiguration from(AbstractOpenKitBuilder builder)
PrivacyConfiguration from given AbstractOpenKitBuilder.builder - The OpenKit builder for which to create a PrivacyConfiguration.PrivacyConfiguration or null if given argument is nullpublic DataCollectionLevel getDataCollectionLevel()
public CrashReportingLevel getCrashReportingLevel()
public boolean isDeviceIDSendingAllowed()
true if sending device identifier is allowed, false otherwise.public boolean isSessionNumberReportingAllowed()
true if sending the session number is allowed, false otherwise.public boolean isWebRequestTracingAllowed()
true if web request tracing is allowed, false otherwise.public boolean isSessionReportingAllowed()
true if ended sessions can be reported, false otherwise.public boolean isActionReportingAllowed()
true if action reporting is allowed, false otherwise.public boolean isValueReportingAllowed()
true if value reporting is allowed, false otherwise.public boolean isEventReportingAllowed()
true if event reporting is allowed, false otherwise.public boolean isErrorReportingAllowed()
true if error reporting is allowed, false otherwise.public boolean isCrashReportingAllowed()
true if crash reporting is allowed, false otherwise.public boolean isUserIdentificationAllowed()
true if user identification is allowed, false otherwise.