Package io.appmetrica.analytics
Class ReporterConfig
java.lang.Object
io.appmetrica.analytics.ReporterConfig
Contains configuration of analytic processing in
IReporter
.
Configuration created by ReporterConfig.Builder
.-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionAdditional configsfinal String
Unique identifier of app in AppMetrica.Application environment to be set after initializationfinal Boolean
Indicates whether data should be sent to the AppMetrica server.final Integer
Timeout for sending reportsfinal Boolean
Indicates whether logging for appropriateIReporter
enabledfinal Integer
Maximum buffer size for reportsfinal Integer
Maximum number of reports to store in database.final Integer
Duration of AppMetrica foreground session timeout.final String
The ID of the user profile. -
Method Summary
Modifier and TypeMethodDescriptionstatic ReporterConfig.Builder
newConfigBuilder
(String apiKey) Creates the new instance ofReporterConfig.Builder
-
Field Details
-
apiKey
Unique identifier of app in AppMetrica.- See Also:
-
sessionTimeout
Duration of AppMetrica foreground session timeout. -
dataSendingEnabled
Indicates whether data should be sent to the AppMetrica server. -
maxReportsInDatabaseCount
-
userProfileID
The ID of the user profile. NOTE: The string value can contain up to 200 characters. -
logs
Indicates whether logging for appropriate
IReporter
enabledtrue
if enabled,false
if not- See Also:
-
dispatchPeriodSeconds
Timeout for sending reports -
maxReportsCount
Maximum buffer size for reports -
appEnvironment
Application environment to be set after initialization -
additionalConfig
Additional configs
-
-
Method Details
-
newConfigBuilder
Creates the new instance ofReporterConfig.Builder
- Parameters:
apiKey
- API_KEY - unique identifier of app in AppMetrica.- Returns:
- builder of
ReporterConfig
- Throws:
IllegalArgumentException
- ifapiKey
is null, empty or has invalid format.- See Also:
-