package com.avg.zaap.crashlibrary.offline.publisher;

import android.support.annotation.NonNull;

/**
 * This callback is called whenever an offline publisher has finished publishing the crash report.
 * <p/>
 * Created by marek.osvald on 27.7.2016.
 */
public interface IOfflinePublisherCallback {

    /**
     * This method is called whenever the offline publisher has finished successfully.
     */
    void onSuccess();

    /**
     * This method is called whenever the offline publish has finished with a failure.
     *
     * @param message failure message
     */
    void onFailure(@NonNull String message);

}
