> For the complete documentation index, see [llms.txt](https://aatkit.gitbook.io/android-integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aatkit.gitbook.io/android-integration/advanced/advanced-listeners/reports-delegate.md).

# Reports Delegate

Listen to AATKit reporting events

### Listen to Reports Events <a href="#listen-to-reports-events" id="listen-to-reports-events"></a>

* Initialise AATKit first.
* Implement [ReportsDelegate](https://gravite-sdk-releases.s3.eu-central-1.amazonaws.com/aatkit/android/docs/-a-a-t-kit/com.intentsoftware.addapptr/-a-a-t-kit-configuration/-reports-delegate/index.html).
* Pass the object implementing `ReportsDelegate` to AATKit using configuration object.

{% tabs %}
{% tab title="Java" %}

```java
private void configureAATKit() {
    AATKitConfiguration configuration = new AATKitConfiguration(this);
    configuration.setReportsDelegate(this);
    AATKit.init(configuration);
}

@Override
public void onReportsSent(@NonNull String report) {
    // A report has been sent
}
```

{% endtab %}

{% tab title="Kotlin" %}

```kotlin
private fun configureAATKit() {
    val configuration = AATKitConfiguration(this)
    configuration.reportsDelegate = this
    AATKit.init(configuration)
}

override fun onReportsSent(report: String) {
    // A report has been sent
}
```

{% endtab %}
{% endtabs %}
