Module tvbrowser
Package tvdataservice

Interface TvDataUpdateManager


  • public interface TvDataUpdateManager
    Author:
    Til Schneider, www.murfman.de
    • Method Detail

      • updateDayProgram

        void updateDayProgram​(MutableChannelDayProgram program)
        Updates the given day program.
        Parameters:
        program - The day program to update.
      • isDayProgramAvailable

        boolean isDayProgramAvailable​(Date date,
                                      Channel channel)
        Gets whether a certain day program is available.
        Parameters:
        date - The date of the day program to check.
        channel - The channel of the day program to check.
        Returns:
        Whether the day program is available.
      • cancelDownload

        boolean cancelDownload()
        Returns whether the download should be canceled.
        Returns:
        Whether the download should be canceled.
      • checkConnection

        boolean checkConnection()
        checks the network connection. Shows only 1 error message during a data update, even if called multiple times
        Returns:
        true, if the network is available