-
@JsonClass(generateAdapter = true) public final class RemoteConfigConfiguration of the SDK set by the Embrace API.
-
-
Field Summary
Fields Modifier and Type Field Description private final Integerthresholdprivate final Set<String>disabledEventAndLogPatternsprivate final Set<String>disabledUrlPatternsprivate final Set<NetworkCaptureRuleRemoteConfig>networkCaptureRulesprivate final UiRemoteConfiguiConfigprivate final NetworkRemoteConfignetworkConfigprivate final SessionRemoteConfigsessionConfigprivate final LogRemoteConfiglogConfigprivate final AnrRemoteConfiganrConfigprivate final DataRemoteConfigdataConfigprivate final KillSwitchRemoteConfigkillSwitchConfigprivate final BooleaninternalExceptionCaptureEnabledprivate final AppExitInfoConfigappExitInfoConfigprivate final BackgroundActivityRemoteConfigbackgroundActivityConfigprivate final IntegermaxSessionPropertiesprivate final NetworkSpanForwardingRemoteConfignetworkSpanForwardingRemoteConfigprivate final WebViewVitalswebViewVitalsprivate final BooleanuiLoadInstrumentationEnabled
-
Constructor Summary
Constructors Constructor Description RemoteConfig(Integer threshold, Set<String> disabledEventAndLogPatterns, Set<String> disabledUrlPatterns, Set<NetworkCaptureRuleRemoteConfig> networkCaptureRules, UiRemoteConfig uiConfig, NetworkRemoteConfig networkConfig, SessionRemoteConfig sessionConfig, LogRemoteConfig logConfig, AnrRemoteConfig anrConfig, DataRemoteConfig dataConfig, KillSwitchRemoteConfig killSwitchConfig, Boolean internalExceptionCaptureEnabled, AppExitInfoConfig appExitInfoConfig, BackgroundActivityRemoteConfig backgroundActivityConfig, Integer maxSessionProperties, NetworkSpanForwardingRemoteConfig networkSpanForwardingRemoteConfig, WebViewVitals webViewVitals, Boolean uiLoadInstrumentationEnabled)
-
Method Summary
Modifier and Type Method Description final IntegergetThreshold()Used to determine whether or not the SDK should be activated for this device. final Set<String>getDisabledEventAndLogPatterns()List of regular expressions matching event names and log messages which should be disabled. final Set<String>getDisabledUrlPatterns()List of regular expressions of URLs which should not be logged. final Set<NetworkCaptureRuleRemoteConfig>getNetworkCaptureRules()Rules that will allow the specification of network requests to be captured final UiRemoteConfiggetUiConfig()Settings relating to the user interface, such as the breadcrumb limits. final NetworkRemoteConfiggetNetworkConfig()Settings defining the capture limits for network calls. final SessionRemoteConfiggetSessionConfig()Settings defining session control is enabled or not final LogRemoteConfiggetLogConfig()Settings defining the log configuration. final AnrRemoteConfiggetAnrConfig()final DataRemoteConfiggetDataConfig()final KillSwitchRemoteConfiggetKillSwitchConfig()final BooleangetInternalExceptionCaptureEnabled()Settings defining if internal exception capture is enabled or not final AppExitInfoConfiggetAppExitInfoConfig()final BackgroundActivityRemoteConfiggetBackgroundActivityConfig()final IntegergetMaxSessionProperties()The maximum number of properties that can be attached to a session final NetworkSpanForwardingRemoteConfiggetNetworkSpanForwardingRemoteConfig()final WebViewVitalsgetWebViewVitals()Web view vitals settings final BooleangetUiLoadInstrumentationEnabled()-
-
Constructor Detail
-
RemoteConfig
RemoteConfig(Integer threshold, Set<String> disabledEventAndLogPatterns, Set<String> disabledUrlPatterns, Set<NetworkCaptureRuleRemoteConfig> networkCaptureRules, UiRemoteConfig uiConfig, NetworkRemoteConfig networkConfig, SessionRemoteConfig sessionConfig, LogRemoteConfig logConfig, AnrRemoteConfig anrConfig, DataRemoteConfig dataConfig, KillSwitchRemoteConfig killSwitchConfig, Boolean internalExceptionCaptureEnabled, AppExitInfoConfig appExitInfoConfig, BackgroundActivityRemoteConfig backgroundActivityConfig, Integer maxSessionProperties, NetworkSpanForwardingRemoteConfig networkSpanForwardingRemoteConfig, WebViewVitals webViewVitals, Boolean uiLoadInstrumentationEnabled)
-
-
Method Detail
-
getThreshold
final Integer getThreshold()
Used to determine whether or not the SDK should be activated for this device. The threshold identifies the percentage of devices for which the SDK is enabled. A threshold of 100 means that the SDK is enabled for all devices, whilst 0 means it is disabled for all devices.
-
getDisabledEventAndLogPatterns
final Set<String> getDisabledEventAndLogPatterns()
List of regular expressions matching event names and log messages which should be disabled.
-
getDisabledUrlPatterns
final Set<String> getDisabledUrlPatterns()
List of regular expressions of URLs which should not be logged.
-
getNetworkCaptureRules
final Set<NetworkCaptureRuleRemoteConfig> getNetworkCaptureRules()
Rules that will allow the specification of network requests to be captured
-
getUiConfig
final UiRemoteConfig getUiConfig()
Settings relating to the user interface, such as the breadcrumb limits.
-
getNetworkConfig
final NetworkRemoteConfig getNetworkConfig()
Settings defining the capture limits for network calls.
-
getSessionConfig
final SessionRemoteConfig getSessionConfig()
Settings defining session control is enabled or not
-
getLogConfig
final LogRemoteConfig getLogConfig()
Settings defining the log configuration.
-
getAnrConfig
final AnrRemoteConfig getAnrConfig()
-
getDataConfig
final DataRemoteConfig getDataConfig()
-
getKillSwitchConfig
final KillSwitchRemoteConfig getKillSwitchConfig()
-
getInternalExceptionCaptureEnabled
final Boolean getInternalExceptionCaptureEnabled()
Settings defining if internal exception capture is enabled or not
-
getAppExitInfoConfig
final AppExitInfoConfig getAppExitInfoConfig()
-
getBackgroundActivityConfig
final BackgroundActivityRemoteConfig getBackgroundActivityConfig()
-
getMaxSessionProperties
final Integer getMaxSessionProperties()
The maximum number of properties that can be attached to a session
-
getNetworkSpanForwardingRemoteConfig
final NetworkSpanForwardingRemoteConfig getNetworkSpanForwardingRemoteConfig()
-
getWebViewVitals
final WebViewVitals getWebViewVitals()
Web view vitals settings
-
getUiLoadInstrumentationEnabled
final Boolean getUiLoadInstrumentationEnabled()
-
-
-
-