@Override public Long getLatestNotificationEpoch(String notificationManagerUri) { Long ret = api.getLatestNotificationEpoch(callingCtx, notificationManagerUri); return ret; }
public MessageNotificationManager(NotificationApiRetriever retriever, String notificationName) { this.retriever = retriever; this.notificationName = notificationName; resetApi(); currentEpoch = notificationApi.getLatestNotificationEpoch(context, notificationName); }