public class ElgatoConnection extends Object implements SimpleConnectionIf
Constructor and Description |
---|
ElgatoConnection() |
Modifier and Type | Method and Description |
---|---|
boolean |
addToRecording(SimpleConfig conf,
ProgramTime prg)
Record Program
|
Program[] |
getAllRecordings(SimpleConfig conf)
Get all recordings of this device
|
SimpleChannel[] |
getAvailableChannels()
Get the List of all available Channels
|
void |
removeRecording(SimpleConfig conf,
Program prg)
Remove Recording
|
void |
switchToChannel(SimpleConfig conf,
Channel channel)
Switch to Channel of Program
|
public SimpleChannel[] getAvailableChannels()
getAvailableChannels
in interface SimpleConnectionIf
null
if error while loadingpublic Program[] getAllRecordings(SimpleConfig conf)
SimpleConnectionIf
getAllRecordings
in interface SimpleConnectionIf
conf
- Configpublic boolean addToRecording(SimpleConfig conf, ProgramTime prg)
addToRecording
in interface SimpleConnectionIf
conf
- Configprg
- Program to recordpublic void removeRecording(SimpleConfig conf, Program prg)
removeRecording
in interface SimpleConnectionIf
conf
- prg
- Remove recording of this Programpublic void switchToChannel(SimpleConfig conf, Channel channel)
switchToChannel
in interface SimpleConnectionIf
conf
- Config to usechannel
- Switch to ChannelTV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)