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
ConstructorDescriptionDynatraceConfigurationBuilder
(String applicationId, String beaconUrl) Creates a newConfigurationBuilder
by passing the mandatory Dynatrace configuration parameters. -
Method Summary
Methods inherited from class com.dynatrace.android.agent.conf.ConfigurationBuilder
buildConfiguration, withActivityMonitoring, withAutoUserActionModifier, withCertificateValidation, withCommunicationProblemListener, withCrashReporting, withDebugLogging, withFileDomainCookies, withHybridMonitoring, withKeyManagers, withKeyStore, withMonitoredDomains, withMonitoredHttpsDomains, withStartupLoadBalancing, withUserOptIn
-
Constructor Details
-
DynatraceConfigurationBuilder
Creates a newConfigurationBuilder
by 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
-