public interface ProgramReceiveIf extends java.lang.Comparable<ProgramReceiveIf>
Modifier and Type | Method and Description |
---|---|
boolean |
canReceiveProgramsWithTarget()
Gets whether the ProgramReceiveIf supports receiving programs from other plugins with a special target.
|
java.lang.String |
getId() |
ProgramReceiveTarget[] |
getProgramReceiveTargets()
Returns an array of receive targets or
null if there is no
target |
boolean |
receivePrograms(Program[] programArr,
ProgramReceiveTarget receiveTarget)
Receives a list of programs from another plugin with a target.
|
boolean |
receiveValues(java.lang.String[] values,
ProgramReceiveTarget receiveTarget)
Receives a list of Strings from another plugin with a target.
|
boolean canReceiveProgramsWithTarget()
receivePrograms(Program[],ProgramReceiveTarget)
boolean receivePrograms(Program[] programArr, ProgramReceiveTarget receiveTarget)
programArr
- The programs passed from the other plugin.receiveTarget
- The receive target of the programs.true
, if the programs were correctly received and the
target really exists.canReceiveProgramsWithTarget()
ProgramReceiveTarget[] getProgramReceiveTargets()
null
if there is no
targetcanReceiveProgramsWithTarget()
,
receivePrograms(Program[],ProgramReceiveTarget)
boolean receiveValues(java.lang.String[] values, ProgramReceiveTarget receiveTarget)
values
- The value array passed from the other plugin.receiveTarget
- The receive target of the programs.True
if the value array was handled correct,
false otherwise.canReceiveProgramsWithTarget()
java.lang.String getId()
TV-Browser 3.4.4, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)