anotherim/src/main/java/eu/siacs/conversations/ui/UiCallback.java

12 lines
224 B
Java
Raw Normal View History

2014-10-22 16:38:44 +00:00
package eu.siacs.conversations.ui;
import android.app.PendingIntent;
public interface UiCallback<T> {
2015-10-12 10:36:54 +00:00
void success(T object);
2014-10-22 16:38:44 +00:00
2015-10-12 10:36:54 +00:00
void error(int errorCode, T object);
2014-10-22 16:38:44 +00:00
void userInputRequired(PendingIntent pi, T object);
2014-10-22 16:38:44 +00:00
}