public interface ProgramReceiveIf
Modifier and Type | Method and Description |
---|---|
boolean |
canReceivePrograms()
Deprecated.
Since 2.5 Use
canReceiveProgramsWithTarget() instead. |
boolean |
canReceiveProgramsWithTarget()
Gets whether the ProgramReceiveIf supports receiving programs from other plugins with a special target.
|
String |
getId() |
ProgramReceiveTarget[] |
getProgramReceiveTargets()
Returns an array of receive target or
null if there is no target |
void |
receivePrograms(Program[] programArr)
Deprecated.
Since 2.5 Use
receivePrograms(Program[],ProgramReceiveTarget) instead. |
boolean |
receivePrograms(Program[] programArr,
ProgramReceiveTarget receiveTarget)
Receives a list of programs from another plugin with a target.
|
boolean |
receiveValues(String[] values,
ProgramReceiveTarget receiveTarget)
Receives a list of Strings from another plugin with a target.
|
boolean canReceivePrograms()
canReceiveProgramsWithTarget()
instead.receivePrograms(Program[])
void receivePrograms(Program[] programArr)
receivePrograms(Program[],ProgramReceiveTarget)
instead.programArr
- The programs passed from the other plugin.canReceivePrograms()
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.canReceiveProgramsWithTarget()
ProgramReceiveTarget[] getProgramReceiveTargets()
null
if there is no targetcanReceiveProgramsWithTarget()
,
receivePrograms(Program[],ProgramReceiveTarget)
boolean receiveValues(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()
String getId()
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)