Class FavoritesSyncNotificationManager
- java.lang.Object
-
- aero.panasonic.inflight.services.user.utils.syncfavoritescallbackmanager.FavoritesSyncNotificationManager
-
public class FavoritesSyncNotificationManager extends java.lang.ObjectCreated by jadhwanis on 10/6/16.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FavoritesSyncNotificationManagergetInstance()voidsubscribe(int refId, RemoteMessageReceivedListener callback)Subscribe Pes event.voidtriggerRemoteFavoritesChangedEvents(Bundle data)voidunsubscribe(int refId)Unsubscribe pes event.
-
-
-
Method Detail
-
getInstance
public static FavoritesSyncNotificationManager getInstance()
-
subscribe
public void subscribe(int refId, RemoteMessageReceivedListener callback)Subscribe Pes event. The subscribed events will be added to the current events list internal.- Parameters:
refId- Reference ID to identify the controller.callback- Corresponding callback will be notified once the subscribed events triggered.
-
unsubscribe
public void unsubscribe(int refId)
Unsubscribe pes event.- Parameters:
refId- Reference ID to identify the controller.
-
triggerRemoteFavoritesChangedEvents
public void triggerRemoteFavoritesChangedEvents(Bundle data)
-
-