Table of Contents
API Documentation: | VariantConfiguration |
---|
Encapsulates all variant-specific properties into this DSL object.
Property | Description |
agentBehavior | Specifies options that fine-tune the agent behavior. |
autoStart | Specifies options for the auto start injection feature. |
behavioralEvents | Specifies options that for configuring behavioral events. |
crashReporting | Specifies if the crash reporting feature is enabled |
debug | Specifies options |
enabled | Specifies if the variant should be instrumented |
exclude | Specifies options for excluding classes and methods from instrumentation. |
hybridWebView | Specifies options for hybrid web view apps. |
lifecycle | Specifies options for the lifecycle monitoring feature. |
locationMonitoring | Specifies if the location monitoring feature is enabled |
sessionReplay | Specifies options for using session replay. |
userActions | Specifies options for the user action monitoring feature. |
userOptIn | Specifies if the user has to opt-in for monitoring. The privacy settings must be configured via OneAgent SDK. |
variantFilter | Specifies a regex that will be used to determine the affiliation between this |
webRequests | Specifies options for the web request monitoring feature. |
Block | Description |
agentBehavior | Specifies options that fine-tune the agent behavior. |
autoStart | Specifies options for the auto start injection feature. |
behavioralEvents | Specifies options for configuring behavioral events. |
debug | Specifies additional configuration properties that should only be used in special cases like troubleshooting. |
exclude | Specifies options for excluding classes and methods from instrumentation. |
hybridWebView | Specifies options for hybrid web view apps. |
lifecycle | Specifies options for the lifecycle monitoring feature. |
sessionReplay | Specifies options for using session replay. |
userActions | Specifies options for the user action monitoring feature. |
webRequests | Specifies options for the web request monitoring feature. |
AgentBehaviorOptions
agentBehavior
Specifies options that fine-tune the agent behavior.
For more information about the properties you can configure in this block, see AgentBehaviorOptions
.
StartOptions
autoStart
Specifies options for the auto start injection feature.
For more information about the properties you can configure in this block, see StartOptions
.
BehavioralEventsOptions
behavioralEvents
Specifies options that for configuring behavioral events.
For more information about the properties you can configure in this block, see BehavioralEventsOptions
.
Specifies if the crash reporting feature is enabled
The default value is true.
DebugOptions
debug
Specifies options
For more information about the properties you can configure in this block, see DebugOptions
.
ExcludeOptions
exclude
Specifies options for excluding classes and methods from instrumentation.
For more information about the properties you can configure in this block, see ExcludeOptions
.
HybridOptions
hybridWebView
Specifies options for hybrid web view apps.
For more information about the properties you can configure in this block, see HybridOptions
.
LifecycleOptions
lifecycle
Specifies options for the lifecycle monitoring feature.
For more information about the properties you can configure in this block, see LifecycleOptions
.
Specifies if the location monitoring feature is enabled
The default value is false.
SessionReplayOptions
sessionReplay
Specifies options for using session replay.
For more information about the properties you can configure in this block, see SessionReplayOptions
. How
to configure Session
Replay.
UserActionOptions
userActions
Specifies options for the user action monitoring feature.
For more information about the properties you can configure in this block, see UserActionOptions
.
Specifies if the user has to opt-in for monitoring. The privacy settings must be configured via OneAgent SDK.
The default value is false.
String
variantFilter
Specifies a regex that will be used to determine the affiliation between this VariantConfiguration
an the
Android build
variants.
If no value is defined, this VariantConfiguration
will match all Android build variants.
WebRequestOptions
webRequests
Specifies options for the web request monitoring feature.
For more information about the properties you can configure in this block, see WebRequestOptions
.
Specifies options that fine-tune the agent behavior.
For more information about the properties you can configure in this block, see AgentBehaviorOptions
.
- Delegates to:
AgentBehaviorOptions
fromagentBehavior
Specifies options for the auto start injection feature.
For more information about the properties you can configure in this block, see StartOptions
.
- Delegates to:
StartOptions
fromautoStart
Specifies options for configuring behavioral events.
For more information about the properties you can configure in this block, see BehavioralEventsOptions
.
- Delegates to:
BehavioralEventsOptions
frombehavioralEvents
Specifies additional configuration properties that should only be used in special cases like troubleshooting.
For more information about the properties you can configure in this block, see DebugOptions
.
- Delegates to:
DebugOptions
fromdebug
Specifies options for excluding classes and methods from instrumentation.
For more information about the properties you can configure in this block, see ExcludeOptions
.
- Delegates to:
ExcludeOptions
fromexclude
Specifies options for hybrid web view apps.
For more information about the properties you can configure in this block, see HybridOptions
.
- Delegates to:
HybridOptions
fromhybridWebView
Specifies options for the lifecycle monitoring feature.
For more information about the properties you can configure in this block, see LifecycleOptions
.
- Delegates to:
LifecycleOptions
fromlifecycle
Specifies options for using session replay.
For more information about the properties you can configure in this block, see SessionReplayOptions
. How
to configure Session
Replay.
- Delegates to:
SessionReplayOptions
fromsessionReplay
Specifies options for the user action monitoring feature.
For more information about the properties you can configure in this block, see UserActionOptions
.
- Delegates to:
UserActionOptions
fromuserActions
Specifies options for the web request monitoring feature.
For more information about the properties you can configure in this block, see WebRequestOptions
.
- Delegates to:
WebRequestOptions
fromwebRequests