Index
All Classes and Interfaces|All Packages
A
- applyUserPrivacyOptions(UserPrivacyOptions) - Static method in class com.dynatrace.android.agent.Dynatrace
-
Creates a new session with the specified privacy settings and stores the privacy settings for future sessions.
- AppMonConfigurationBuilder - Class in com.dynatrace.android.agent.conf
-
This class properly generates and initializes the agent
Configuration
for AppMon usage. - AppMonConfigurationBuilder(String, String) - Constructor for class com.dynatrace.android.agent.conf.AppMonConfigurationBuilder
-
Generates a new
ConfigurationBuilder
by setting all mandatory AppMon configuration parameters
B
- build() - Method in class com.dynatrace.android.agent.conf.UserPrivacyOptions.Builder
-
Returns an instance of
UserPrivacyOptions
with the specified values of this builder. - buildConfiguration() - Method in class com.dynatrace.android.agent.conf.ConfigurationBuilder
-
Builds the agent configuration object.
- builder() - Static method in class com.dynatrace.android.agent.conf.UserPrivacyOptions
-
Constructs a
UserPrivacyOptions.Builder
object. - Builder() - Constructor for class com.dynatrace.android.agent.conf.UserPrivacyOptions.Builder
-
Constructs a
UserPrivacyOptions.Builder
object
C
- cancel() - Method in interface com.dynatrace.android.agent.DTXAction
-
Cancels this
DTXAction
. - cancel() - Method in interface com.dynatrace.android.agent.ModifiableUserAction
-
Cancels this
DTXAction
. - castJavaScriptValue(int) - Static method in enum com.dynatrace.android.agent.conf.DataCollectionLevel
-
Parses the JavaScript
int
value to the properDataCollectionLevel
value. - com.dynatrace.android.agent - package com.dynatrace.android.agent
- com.dynatrace.android.agent.comm - package com.dynatrace.android.agent.comm
- com.dynatrace.android.agent.conf - package com.dynatrace.android.agent.conf
- com.dynatrace.android.api - package com.dynatrace.android.api
- CommunicationProblemListener - Interface in com.dynatrace.android.agent.comm
-
Interface definition for a callback to be invoked when the agent was not able to successfully communicate with the beacon endpoint.
- ConfigurationBuilder - Class in com.dynatrace.android.agent.conf
-
This class is needed for generating the agent
Configuration
.
D
- DataCollectionLevel - Enum in com.dynatrace.android.agent.conf
-
This enum represents the different privacy levels that the user can select.
- DTXAction - Interface in com.dynatrace.android.agent
-
This interface provides functionality to create (child) actions, report events/values/errors and tracing web requests.
- Dynatrace - Class in com.dynatrace.android.agent
-
OneAgent SDK for Android.
- Dynatrace() - Constructor for class com.dynatrace.android.agent.Dynatrace
-
Returns the
Dynatrace
object - DynatraceConfigurationBuilder - Class in com.dynatrace.android.agent.conf
-
This class properly generates and initializes the agent
Configuration
for Dynatrace SaaS/Managed usage. - DynatraceConfigurationBuilder(String, String) - Constructor for class com.dynatrace.android.agent.conf.DynatraceConfigurationBuilder
-
Creates a new
ConfigurationBuilder
by passing the mandatory Dynatrace configuration parameters.
E
- endVisit() - Static method in class com.dynatrace.android.agent.Dynatrace
-
Can be called to end the current visit and start a new visit.
- enterAction(String) - Static method in class com.dynatrace.android.agent.Dynatrace
-
Enters a
DTXAction
with a specified name. - enterAction(String, DTXAction) - Static method in class com.dynatrace.android.agent.Dynatrace
-
Enters a
DTXAction
with a specified name and a parent action. - equals(Object) - Method in class com.dynatrace.android.agent.conf.UserPrivacyOptions
F
- flushEvents() - Static method in class com.dynatrace.android.agent.Dynatrace
-
Call this function to flush all collected events immediately.
G
- getActionName() - Method in interface com.dynatrace.android.agent.ModifiableUserAction
-
Returns the name of the currently open
UserAction
- getCaptureStatus() - Static method in class com.dynatrace.android.agent.Dynatrace
-
Get the current data capture state.
- getDataCollectionLevel() - Method in class com.dynatrace.android.agent.conf.UserPrivacyOptions
-
Returns the specified data collection level.
- getDataCollectionLevel() - Static method in class com.dynatrace.android.agent.Dynatrace
-
Deprecated.
- getJavaScriptValue() - Method in enum com.dynatrace.android.agent.conf.DataCollectionLevel
-
Returns the
int
representation that is used in the JavaScript part of the app - getRequestTag() - Method in interface com.dynatrace.android.agent.DTXAction
-
Returns the Dynatrace request tag which has to be set manually as HTTP header.
- getRequestTag() - Static method in class com.dynatrace.android.agent.Dynatrace
-
Returns the Dynatrace request tag which has to be set manually as HTTP header.
- getRequestTagHeader() - Method in interface com.dynatrace.android.agent.DTXAction
-
Returns the Dynatrace request tag header name.
- getRequestTagHeader() - Static method in class com.dynatrace.android.agent.Dynatrace
-
Returns the Dynatrace request tag header name.
- getUserPrivacyOptions() - Static method in class com.dynatrace.android.agent.Dynatrace
-
Returns the previously specified privacy settings from the user.
- getWebRequestTiming(String) - Static method in class com.dynatrace.android.agent.Dynatrace
-
This represents a network timing instance for reporting the time elapsed between two user-defined events.
- getWebRequestTiming(HttpURLConnection) - Static method in class com.dynatrace.android.agent.Dynatrace
-
This represents a network timing instance for reporting the time elapsed between two user-defined events.
H
- hashCode() - Method in class com.dynatrace.android.agent.conf.UserPrivacyOptions
I
- identifyUser(String) - Static method in class com.dynatrace.android.agent.Dynatrace
-
The current visit/session will be tagged with the provided user id.
- identifyUser(String, DTXAction) - Static method in class com.dynatrace.android.agent.Dynatrace
-
Deprecated.As of version 8.215, use
Dynatrace.identifyUser(String)
instead - Incubating - Annotation Type in com.dynatrace.android.api
-
This annotation indicates that a feature is currently work in progress.
- instrumentWebView(WebView) - Static method in class com.dynatrace.android.agent.Dynatrace
-
Instruments the given
WebView
to allow communication between the RUM JavaScript tag and OneAgent for Android. - isCrashReplayOptedIn() - Method in class com.dynatrace.android.agent.conf.UserPrivacyOptions
-
Returns the opt-in value for the crash replay feature.
- isCrashReportingOptedIn() - Method in class com.dynatrace.android.agent.conf.UserPrivacyOptions
-
Returns the opt-in value for crash reporting.
- isCrashReportingOptedIn() - Static method in class com.dynatrace.android.agent.Dynatrace
-
Deprecated.As of version 8.191, replaced by
Dynatrace.getUserPrivacyOptions()
- isFinalized() - Method in class com.dynatrace.android.agent.WebRequestTiming
-
Used to determine if the current object has been finalized.
- isFinished() - Method in interface com.dynatrace.android.agent.DTXAction
-
Returns true if this action is completed.
L
- leaveAction() - Method in interface com.dynatrace.android.agent.DTXAction
-
Completes this action and prepares the data for the next sending interval.
M
- ModifiableUserAction - Interface in com.dynatrace.android.agent
-
This interface defines a set of actions that can be used to interact with currently open user actions.
- modify(ModifiableUserAction) - Method in interface com.dynatrace.android.agent.UserActionModifier
-
Implement this method and modify the currently active
ModifiableUserAction
- modifyUserAction(UserActionModifier) - Static method in class com.dynatrace.android.agent.Dynatrace
-
Allows to modify the currently pending user action.
N
- newBuilder() - Method in class com.dynatrace.android.agent.conf.UserPrivacyOptions
-
Constructs a
UserPrivacyOptions.Builder
object that is initialized with the values from this object.
O
- OFF - Enum constant in enum com.dynatrace.android.agent.conf.DataCollectionLevel
-
The agent does not capture data.
- onError(Throwable) - Method in interface com.dynatrace.android.agent.comm.CommunicationProblemListener
-
Called when the agent was not able to receive an http response.
- onFailure(int, String, String) - Method in interface com.dynatrace.android.agent.comm.CommunicationProblemListener
-
Called when the agent successfully received an http response, but the response is invalid.
P
- PERFORMANCE - Enum constant in enum com.dynatrace.android.agent.conf.DataCollectionLevel
-
The agent only captures anonymous performance data.
R
- reportError(String, int) - Method in interface com.dynatrace.android.agent.DTXAction
-
Reports an error with a specified name and error code.
- reportError(String, int) - Static method in class com.dynatrace.android.agent.Dynatrace
-
Reports an error with a specified name and error code.
- reportError(String, int) - Method in interface com.dynatrace.android.agent.ModifiableUserAction
-
Reports an error with a specified name and error code.
- reportError(String, Throwable) - Method in interface com.dynatrace.android.agent.DTXAction
-
Reports an error with a specified name and a
Throwable
. - reportError(String, Throwable) - Static method in class com.dynatrace.android.agent.Dynatrace
-
Reports an error with a specified name and a
Throwable
. - reportError(String, Throwable) - Method in interface com.dynatrace.android.agent.ModifiableUserAction
-
Reports an error with a specified name and a
Throwable
. - reportEvent(String) - Method in interface com.dynatrace.android.agent.DTXAction
-
Reports an event with a specified name (but without any value).
- reportEvent(String) - Method in interface com.dynatrace.android.agent.ModifiableUserAction
-
Reports an event with a specified name (but without any value).
- reportValue(String, double) - Method in interface com.dynatrace.android.agent.DTXAction
-
Reports a
double
value with a specified name. - reportValue(String, double) - Method in interface com.dynatrace.android.agent.ModifiableUserAction
-
Reports a
double
value with a specified name. - reportValue(String, int) - Method in interface com.dynatrace.android.agent.DTXAction
-
Reports an
int
value with a specified name. - reportValue(String, int) - Method in interface com.dynatrace.android.agent.ModifiableUserAction
-
Reports an
int
value with a specified name. - reportValue(String, long) - Method in interface com.dynatrace.android.agent.DTXAction
-
Reports a
long
value with a specified name. - reportValue(String, long) - Method in interface com.dynatrace.android.agent.ModifiableUserAction
-
Reports a
long
value with a specified name. - reportValue(String, String) - Method in interface com.dynatrace.android.agent.DTXAction
-
Reports a
String
value with a specified name. - reportValue(String, String) - Method in interface com.dynatrace.android.agent.ModifiableUserAction
-
Reports a
String
value with a specified name. - restoreCookies() - Static method in class com.dynatrace.android.agent.Dynatrace
-
Restores the Dynatrace cookies for the specified domains.
S
- sendBizEvent(String, JSONObject) - Static method in class com.dynatrace.android.agent.Dynatrace
-
Send a Business Event.
- setActionName(String) - Method in interface com.dynatrace.android.agent.ModifiableUserAction
-
Sets the name of the currently open
UserAction
- setBeaconHeaders(Map<String, String>) - Static method in class com.dynatrace.android.agent.Dynatrace
-
Puts a set of http headers on every agent http request.
- setCrashReportingOptedIn(boolean) - Static method in class com.dynatrace.android.agent.Dynatrace
-
Deprecated.As of version 8.191, replaced by
Dynatrace.applyUserPrivacyOptions(UserPrivacyOptions)
- setDataCollectionLevel(DataCollectionLevel) - Static method in class com.dynatrace.android.agent.Dynatrace
-
Deprecated.As of version 8.191, replaced by
Dynatrace.applyUserPrivacyOptions(UserPrivacyOptions)
- setGpsLocation(Location) - Static method in class com.dynatrace.android.agent.Dynatrace
-
Sets a given GPS location.
- shutdown() - Static method in class com.dynatrace.android.agent.Dynatrace
-
Shuts down the mobile agent.
- startup(Activity, Configuration) - Static method in class com.dynatrace.android.agent.Dynatrace
-
Initializing the mobile agent for capturing and reporting data.
- startup(Application, Configuration) - Static method in class com.dynatrace.android.agent.Dynatrace
-
Initializing the mobile agent for capturing and reporting data.
- startup(Context, Configuration) - Static method in class com.dynatrace.android.agent.Dynatrace
-
Deprecated.As of version 8.231, use
Dynatrace.startup(Application, Configuration)
orDynatrace.startup(Activity, Configuration)
instead - startWebRequestTiming() - Method in class com.dynatrace.android.agent.WebRequestTiming
-
Begin timing a web request event.
- stopWebRequestTiming() - Method in class com.dynatrace.android.agent.WebRequestTiming
-
Deprecated.As of version 8.255, instead use one of the other
stopWebRequestTiming
methods that allow you to specify the response details - stopWebRequestTiming(String, int, String) - Method in class com.dynatrace.android.agent.WebRequestTiming
-
Stop, finalize, and send a web request timing event.
- stopWebRequestTiming(URI, int, String) - Method in class com.dynatrace.android.agent.WebRequestTiming
-
Stop, finalize, and send a web request timing event.
- stopWebRequestTiming(URL, int, String) - Method in class com.dynatrace.android.agent.WebRequestTiming
-
Stop, finalize, and send a web request timing event.
T
- tagRequest(HttpURLConnection) - Method in interface com.dynatrace.android.agent.DTXAction
-
Deprecated.As of version 8.255, instead
manually obtain the request tag
and theheader key
and add them to the HTTP headers ofHttpURLConnection
. - tagRequest(HttpURLConnection) - Static method in class com.dynatrace.android.agent.Dynatrace
-
Deprecated.As of version 8.255, instead
manually obtain the request tag
and theheader key
and add them to the HTTP headers ofHttpURLConnection
. - toString() - Method in class com.dynatrace.android.agent.conf.UserPrivacyOptions
U
- USER_BEHAVIOR - Enum constant in enum com.dynatrace.android.agent.conf.DataCollectionLevel
-
The agent captures performance and user data.
- UserActionModifier - Interface in com.dynatrace.android.agent
-
Classes that implement this interface need to handle the currently open
ModifiableUserAction
and apply changes to it. - UserPrivacyOptions - Class in com.dynatrace.android.agent.conf
-
Represents the privacy settings that the user can select.
- UserPrivacyOptions.Builder - Class in com.dynatrace.android.agent.conf
-
Builder
is used to build instances ofUserPrivacyOptions
from values configured by the setters.
V
- valueOf(String) - Static method in enum com.dynatrace.android.agent.conf.DataCollectionLevel
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.dynatrace.android.agent.conf.DataCollectionLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WebRequestTiming - Class in com.dynatrace.android.agent
-
This class represents a network timing event for reporting the time elapsed between two user-defined time points (
startWebRequestTiming
andstopWebRequestTiming
). - withActivityMonitoring(boolean) - Method in class com.dynatrace.android.agent.conf.ConfigurationBuilder
-
Enables/disables lifecycle monitoring for the class
Activity
. - withAutoUserActionModifier(UserActionModifier) - Method in class com.dynatrace.android.agent.conf.ConfigurationBuilder
-
Sets a
UserActionModifier
that is invoked each time a new user action is created via auto-instrumentation. - withCertificateValidation(boolean) - Method in class com.dynatrace.android.agent.conf.ConfigurationBuilder
-
Deprecated.As of version 8.257, instead provide a proper certificate to the applications Network Security Configuration.
- withCommunicationProblemListener(CommunicationProblemListener) - Method in class com.dynatrace.android.agent.conf.ConfigurationBuilder
-
Sets a
CommunicationProblemListener
that will be asynchronously notified when the agent can't successfully communicate with the beacon. - withCrashReplayOptedIn(boolean) - Method in class com.dynatrace.android.agent.conf.UserPrivacyOptions.Builder
-
Sets the privacy setting for the crash replay feature.
- withCrashReporting(boolean) - Method in class com.dynatrace.android.agent.conf.ConfigurationBuilder
-
Enables/disables crash reporting.
- withCrashReportingOptedIn(boolean) - Method in class com.dynatrace.android.agent.conf.UserPrivacyOptions.Builder
-
Sets the privacy setting for crash reporting.
- withDataCollectionLevel(DataCollectionLevel) - Method in class com.dynatrace.android.agent.conf.UserPrivacyOptions.Builder
-
Sets the data collection level specified by the user.
- withDebugLogging(boolean) - Method in class com.dynatrace.android.agent.conf.ConfigurationBuilder
-
Enables/disables debug logging.
- withFileDomainCookies(boolean) - Method in class com.dynatrace.android.agent.conf.ConfigurationBuilder
-
Enables/disables file scheme cookies and automatically adds the cookies to the
file://
domain. - withHybridMonitoring(boolean) - Method in class com.dynatrace.android.agent.conf.ConfigurationBuilder
-
Enables/disables the hybrid monitoring feature.
- withKeyManagers(KeyManager[]) - Method in class com.dynatrace.android.agent.conf.ConfigurationBuilder
-
Deprecated.As of version 8.257, no replacement
- withKeyStore(KeyStore) - Method in class com.dynatrace.android.agent.conf.ConfigurationBuilder
-
Deprecated.As of version 8.257, instead add your self-signed certificate to the Network Security Configuration.
- withMonitoredDomains(String...) - Method in class com.dynatrace.android.agent.conf.ConfigurationBuilder
-
For hybrid applications using the JavaScript library, cookies need to be set for each instrumented domain or server the application communicates with.
- withMonitoredHttpsDomains(String...) - Method in class com.dynatrace.android.agent.conf.ConfigurationBuilder
-
For hybrid applications using the JavaScript library, cookies need to be set for each instrumented domain or server the application communicates with.
- withStartupLoadBalancing(boolean) - Method in class com.dynatrace.android.agent.conf.ConfigurationBuilder
-
Enables/disables advanced load balancing for the agent startup.
- withUserOptIn(boolean) - Method in class com.dynatrace.android.agent.conf.ConfigurationBuilder
-
Enables/disables the user opt-in feature.
All Classes and Interfaces|All Packages
Dynatrace.getUserPrivacyOptions()