Package com.dynatrace.android.agent.conf
Class DynatraceConfigurationBuilder
java.lang.Object
com.dynatrace.android.agent.conf.ConfigurationBuilder
com.dynatrace.android.agent.conf.DynatraceConfigurationBuilder
This class properly generates and initializes the agent
Configuration for Dynatrace SaaS/Managed usage.
Example:
new DynatraceConfigurationBuilder("myApplicationUUID", "https://example.bf.dynatrace.com/mbeacon")
.withHybridMonitoring(true)
.withMonitoredDomains("https://www.foo.com", "https://www.bla.com")
.buildConfiguration();
-
Constructor Summary
ConstructorsConstructorDescriptionDynatraceConfigurationBuilder(String applicationId, String beaconUrl) Creates a newConfigurationBuilderby passing the mandatory Dynatrace configuration parameters. -
Method Summary
Methods inherited from class com.dynatrace.android.agent.conf.ConfigurationBuilder
buildConfiguration, withActivityMonitoring, withAnrReporting, withAutoUserActionModifier, withCertificateValidation, withCommunicationProblemListener, withCrashReporting, withDebugLogging, withFileDomainCookies, withHybridMonitoring, withKeyManagers, withKeyStore, withMonitoredDomains, withMonitoredHttpsDomains, withNativeCrashReporting, withOkHttpClient, withOkHttpFactory, withStartupLoadBalancing, withStartupWithGrailEnabled, withUserOptIn
-
Constructor Details
-
DynatraceConfigurationBuilder
Creates a newConfigurationBuilderby passing the mandatory Dynatrace configuration parameters.The parameter values can be found in the Instrumentation wizard of your mobile application in Dynatrace
- Parameters:
applicationId- the application idbeaconUrl- the beacon url as provided by the wizard
-