TV-Browser 2.7.5 API

captureplugin.drivers.simpledevice
Interface SimpleConnectionIf

All Known Implementing Classes:
ElgatoConnection, TheTubeConnection

public interface SimpleConnectionIf

Small interface for applescript devices


Method Summary
 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
 

Method Detail

getAvailableChannels

SimpleChannel[] getAvailableChannels()
Get all available Channels of this device

Returns:
available channels

getAllRecordings

Program[] getAllRecordings(SimpleConfig conf)
Get all recordings of this device

Parameters:
conf - configuration
Returns:
all recordings

addToRecording

boolean addToRecording(SimpleConfig conf,
                       ProgramTime prg)
Add a recording

Parameters:
conf - configuration of this device
prg - add this Program
Returns:
true if successfully

removeRecording

void removeRecording(SimpleConfig conf,
                     Program prg)
Remove a recording

Parameters:
conf - Configuration
prg - Program to remove

switchToChannel

void switchToChannel(SimpleConfig conf,
                     Channel channel)
Switch to channel

Parameters:
conf - Configuration of this device
channel - Channel

TV-Browser 2.7.5 API

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