Class Sync

  • Direct Known Subclasses:
    Additional, Bookmarks, Custom, Info, PlaylistManager, Preferences, Profile

    public abstract class Sync
    extends java.lang.Object
    The Sync class is an abstract class for services that handle synchronizations. This service synchronizes the item on local version, the version saved on the seatback monitor and version saved on the ground server.
    • Constructor Detail

      • Sync

        public Sync()
    • Method Detail

      • getConflicts

        public java.util.List<? extends ConflictItem> getConflicts()
        Gets a list of the ConflictItem
        Returns:
        List of synchronization conflicts
      • synchronize

        public void synchronize()
        Triggers the synchronization.Create new playlist with nameCreate new playlist with name
      • setSyncListener

        public void setSyncListener​(Sync.SyncListener syncListener)
        Sets a listener to listen for the syncronization updates.
        Parameters:
        syncListener - Sync.SyncListener callback invoked indicating the result of sync operation performed.