public class TheTubeConnection extends Object implements SimpleConnectionIf
Constructor and Description |
---|
TheTubeConnection() |
Modifier and Type | Method and Description |
---|---|
boolean |
addToRecording(SimpleConfig conf,
ProgramTime prg)
Add a recording
|
Program[] |
getAllRecordings(SimpleConfig conf)
Get all recordings of this device
|
SimpleChannel[] |
getAvailableChannels()
Get all available Channels of this device
|
void |
removeRecording(SimpleConfig conf,
Program prg)
Remove a recording
|
void |
switchToChannel(SimpleConfig conf,
Channel channel)
Switch to channel
|
public SimpleChannel[] getAvailableChannels()
SimpleConnectionIf
getAvailableChannels
in interface SimpleConnectionIf
public Program[] getAllRecordings(SimpleConfig conf)
SimpleConnectionIf
getAllRecordings
in interface SimpleConnectionIf
conf
- configurationpublic boolean addToRecording(SimpleConfig conf, ProgramTime prg)
SimpleConnectionIf
addToRecording
in interface SimpleConnectionIf
conf
- configuration of this deviceprg
- add this Programtrue
if successfullypublic void removeRecording(SimpleConfig conf, Program prg)
SimpleConnectionIf
removeRecording
in interface SimpleConnectionIf
conf
- Configurationprg
- Program to removepublic void switchToChannel(SimpleConfig conf, Channel channel)
SimpleConnectionIf
switchToChannel
in interface SimpleConnectionIf
conf
- Configuration of this devicechannel
- ChannelTV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)