com.yandex.metrica
Class ReporterConfig
java.lang.Object
com.yandex.metrica.ReporterConfig
public class ReporterConfig
extends java.lang.Object
Nested Class Summary
Modifier and Type | Class and Description |
---|---|
static class | ReporterConfig.Builder |
Field Summary
Modifier and Type | Field and Description |
---|---|
java.lang.String | apiKey |
java.lang.Boolean | logs
|
java.lang.Integer | maxReportsInDatabaseCount |
java.lang.Integer | sessionTimeout |
java.lang.Boolean | statisticsSending |
java.lang.String | userProfileID
The ID of the user profile.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
static ReporterConfig.Builder | createBuilderFromConfig(ReporterConfig config) |
static ReporterConfig.Builder | newConfigBuilder(java.lang.String apiKey) |
Field Detail
apiKey
@NonNull public final java.lang.String apiKey
sessionTimeout
@Nullable public final java.lang.Integer sessionTimeout
statisticsSending
@Nullable public final java.lang.Boolean statisticsSending
maxReportsInDatabaseCount
@Nullable public final java.lang.Integer maxReportsInDatabaseCount
userProfileID
@Nullable public final java.lang.String userProfileID
The ID of the user profile. NOTE: The string value can contain up to 200 characters.
logs
@Nullable public final java.lang.Boolean logs
Indicates whether logging for appropriate IReporter
enabled
true
if enabled, false
if not
- See Also:
YandexMetricaConfig.Builder.withLogs()
Method Detail
createBuilderFromConfig
public static ReporterConfig.Builder createBuilderFromConfig(@NonNull ReporterConfig config)
newConfigBuilder
@NonNull public static ReporterConfig.Builder newConfigBuilder(@NonNull java.lang.String apiKey)