com.urbanairship.api.client.ResponseCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
The Urban Airship Java client library
/*
* 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