All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.urbanairship.api.client.ResponseCallback Maven / Gradle / Ivy

There is a newer version: 9.3.0
Show newest version
/*
 * Copyright (c) 2013-2016.  Urban Airship and Contributors
 */

package com.urbanairship.api.client;

/**
 * Interface providing callback methods for the response processing lifecycle.
 */
public interface ResponseCallback {

    /**
     * Callback for when a response has been completely processed.
     *
     * @param response A Response instance.
     */
    public void completed(Response response);

    /**
     * Callback for when an error occurs in response processing and a Throwable is thrown.
     *
     * @param throwable A Throwable instance.
     */
    public void error(Throwable throwable);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy