Back to project page matrix-android-sdk.
The source code is released under:
Apache License
If you think the Android project matrix-android-sdk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.matrix.androidsdk.sync; /*from ww w.j ava2s. c o m*/ import org.matrix.androidsdk.rest.model.Event; import org.matrix.androidsdk.rest.model.InitialSyncResponse; import java.util.List; /** * Interface to implement to listen to the event thread. */ public interface EventsThreadListener { /** * Called with the response of the initial sync. * @param response the response */ public void onInitialSyncComplete(InitialSyncResponse response); /** * Called every time events come down the stream. * @param events the events */ public void onEventsReceived(List<Event> events); }