AppMetricaConfig constructor
const
AppMetricaConfig(
- String apiKey, {
- bool? anrMonitoring,
- int? anrMonitoringTimeout,
- int? appBuildNumber,
- Map<
String?, String?> ? appEnvironment, - bool? appOpenTrackingEnabled,
- String? appVersion,
- bool? crashReporting,
- List<
String?> ? customHosts, - bool? dataSendingEnabled,
- String? deviceType,
- int? dispatchPeriodSeconds,
- Map<
String?, String?> ? errorEnvironment, - bool? flutterCrashReporting,
- bool? firstActivationAsUpdate,
- AppMetricaLocation? location,
- bool? locationTracking,
- bool? logs,
- int? maxReportsCount,
- int? maxReportsInDatabaseCount,
- bool? nativeCrashReporting,
- AppMetricaPreloadInfo? preloadInfo,
- bool? revenueAutoTrackingEnabled,
- int? sessionTimeout,
- bool? sessionsAutoTrackingEnabled,
- String? userProfileID,
Creates an AppMetrica library configuration object. apiKey
is a required parameter.
Implementation
const AppMetricaConfig(
this.apiKey, {
this.anrMonitoring,
this.anrMonitoringTimeout,
this.appBuildNumber,
this.appEnvironment,
this.appOpenTrackingEnabled,
this.appVersion,
this.crashReporting,
this.customHosts,
this.dataSendingEnabled,
this.deviceType,
this.dispatchPeriodSeconds,
this.errorEnvironment,
this.flutterCrashReporting,
this.firstActivationAsUpdate,
this.location,
this.locationTracking,
this.logs,
this.maxReportsCount,
this.maxReportsInDatabaseCount,
this.nativeCrashReporting,
this.preloadInfo,
this.revenueAutoTrackingEnabled,
this.sessionTimeout,
this.sessionsAutoTrackingEnabled,
this.userProfileID,
});