aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/thedevstack/conversationsplus/ui/UiCallback.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de/thedevstack/conversationsplus/ui/UiCallback.java')
-rw-r--r--src/main/java/de/thedevstack/conversationsplus/ui/UiCallback.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/ui/UiCallback.java b/src/main/java/de/thedevstack/conversationsplus/ui/UiCallback.java
new file mode 100644
index 00000000..d5291b80
--- /dev/null
+++ b/src/main/java/de/thedevstack/conversationsplus/ui/UiCallback.java
@@ -0,0 +1,11 @@
+package de.thedevstack.conversationsplus.ui;
+
+import android.app.PendingIntent;
+
+public interface UiCallback<T> {
+ void success(T object);
+
+ void error(int errorCode, T object);
+
+ void userInputRequried(PendingIntent pi, T object);
+}