TV-Browser 2.7.5 API

captureplugin.drivers.elgatodriver
Class ElgatoConnection

java.lang.Object
  extended by captureplugin.drivers.elgatodriver.ElgatoConnection
All Implemented Interfaces:
SimpleConnectionIf

public class ElgatoConnection
extends Object
implements SimpleConnectionIf

This Class represents the Connection to the Elgato EyeTV.

Author:
bodum

Constructor Summary
ElgatoConnection()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElgatoConnection

public ElgatoConnection()
Method Detail

getAvailableChannels

public SimpleChannel[] getAvailableChannels()
Get the List of all available Channels

Specified by:
getAvailableChannels in interface SimpleConnectionIf
Returns:
All available Channels, null if error while loading

getAllRecordings

public Program[] getAllRecordings(SimpleConfig conf)
Description copied from interface: SimpleConnectionIf
Get all recordings of this device

Specified by:
getAllRecordings in interface SimpleConnectionIf
Parameters:
conf - Config
Returns:
List of all current Recordings

addToRecording

public boolean addToRecording(SimpleConfig conf,
                              ProgramTime prg)
Record Program

Specified by:
addToRecording in interface SimpleConnectionIf
Parameters:
conf - Config
prg - Program to record
Returns:
true if successfull

removeRecording

public void removeRecording(SimpleConfig conf,
                            Program prg)
Remove Recording

Specified by:
removeRecording in interface SimpleConnectionIf
Parameters:
conf -
prg - Remove recording of this Program

switchToChannel

public void switchToChannel(SimpleConfig conf,
                            Channel channel)
Switch to Channel of Program

Specified by:
switchToChannel in interface SimpleConnectionIf
Parameters:
conf - Config to use
channel - Switch to Channel

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)