Reports Delegate

Listen to AATKit reporting events

Listen to Reports Events

  • Initialise AATKit first.

  • Implement ReportsDelegate.

  • Pass the object implementing ReportsDelegate to AATKit using configuration object.

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
}

Last updated