package com.avg.zaap.crashlibrary.provider;

import android.support.annotation.NonNull;

/**
 * This interface denotes the
 * <p>
 * Created by marek.osvald on 8.4.2016.
 */
public interface ICrashAsyncProvider {

    /**
     * Provides the data from an asynchronous non-blocking crash provider.
     *
     * @param directory destination directory to create the crash provision in
     * @param callback  callback to call when the provider has finished
     */
    void provideData(@NonNull final String directory, @NonNull final ICrashProviderCallback callback);

}
