AppMetricaConfig constructor

const AppMetricaConfig(
  1. String apiKey, {
  2. bool? anrMonitoring,
  3. int? anrMonitoringTimeout,
  4. int? appBuildNumber,
  5. Map<String?, String?>? appEnvironment,
  6. bool? appOpenTrackingEnabled,
  7. String? appVersion,
  8. bool? crashReporting,
  9. List<String?>? customHosts,
  10. bool? dataSendingEnabled,
  11. String? deviceType,
  12. int? dispatchPeriodSeconds,
  13. Map<String?, String?>? errorEnvironment,
  14. bool? firstActivationAsUpdate,
  15. Location? location,
  16. bool? locationTracking,
  17. bool? logs,
  18. int? maxReportsCount,
  19. int? maxReportsInDatabaseCount,
  20. bool? nativeCrashReporting,
  21. PreloadInfo? preloadInfo,
  22. bool? revenueAutoTrackingEnabled,
  23. int? sessionTimeout,
  24. bool? sessionsAutoTrackingEnabled,
  25. 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.firstActivationAsUpdate,
      this.location,
      this.locationTracking,
      this.logs,
      this.maxReportsCount,
      this.maxReportsInDatabaseCount,
      this.nativeCrashReporting,
      this.preloadInfo,
      this.revenueAutoTrackingEnabled,
      this.sessionTimeout,
      this.sessionsAutoTrackingEnabled,
      this.userProfileID,
    });