anotherim/src/main/java/eu/siacs/conversations/ui/UiCallback.java
Daniel Gultsch 49224335fc attempt to unregister when receiving push for channel no longer joined
when receiving a FCM push message for a channel the user is no longer in (this can happen when the disable command failed) an attempt will be made to explicitly unregister from the app server (which in turn will then send item-not-found on next push)
2019-06-26 17:40:12 +02:00

12 lines
224 B
Java

package eu.siacs.conversations.ui;
import android.app.PendingIntent;
public interface UiCallback<T> {
void success(T object);
void error(int errorCode, T object);
void userInputRequired(PendingIntent pi, T object);
}