TV-Browser 3.3.3 API

tvdataservice
Interface TvDataUpdateManager


public interface TvDataUpdateManager

Author:
Til Schneider, www.murfman.de

Method Summary
 boolean cancelDownload()
          Returns whether the download should be canceled.
 boolean checkConnection()
          checks the network connection.
 boolean isDayProgramAvailable(Date date, Channel channel)
          Gets whether a certain day program is available.
 void updateDayProgram(MutableChannelDayProgram program)
          Updates the given day program.
 

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

TV-Browser 3.3.3 API

TV-Browser 3.3.3, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)