public interface SyncListener
void onSyncSuccess(SyncResult result)
SyncResult lists the triggers which have been added and/or removed
from TapPoint since the last synchronisation.
result- lists any triggers that were added and/or removed. An empty result will be returned if no triggers have changed on TapPoint.
void onSyncFailure(ApiError error)
Synchronisation can fail for several reasons, for example the application may not have successfully authenticated
with TapPoint or a network connection may not be available. Your application should inspect the
ApiError object that is passed to the method and decide whether it is possible to
error- provides additional details about the failure.