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

12 lines
224 B
Java
Raw Normal View History

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