getReporter static method

AppMetricaReporter getReporter(
  1. String apiKey
)

Returns an object that implements the Reporter interface for the specified apiKey.

Used to send statistics using an API key different from the app's API key.

Implementation

static AppMetricaReporter getReporter(String apiKey) {
  _appMetrica.touchReporter(apiKey).ignore();
  return _reporterStorage.getReporter(apiKey);
}