|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IInputInfo
An interface to get informations about a recorder input.
This interface represents the response to a IRemoteEncoder.getInputs()
request.
This interface is the parent interface of IInputInfoFree
and InputInfoTuned
.
IRemoteEncoder encoder = ...; // an already connected encoder // get all encoder inputs (busy and free) List<IInputInfo> allInputs = encoder.getInputs(); for(IInputInfo input : allInputs) { System.out.println(String.format( "Input %d (name: %s, source: %d, card: %d, multiplex: %d) is %s.", input.getInputID(), input.getInputName(), input.getSourceID(), input.getCardID(), input.getMultiplexID(), input.isBusy()?"busy":"idle" )); }
get all inputs
,
get free inputs
,
bet gusy inputs
Field Summary | |
---|---|
static String |
EMPTY_INPUT
Constant used as input name if the encoder is idle. |
Method Summary | |
---|---|
Integer |
getCardID()
Gets the ID of the physical capture card. |
Integer |
getInputID()
Gets the ID of a specific input. |
String |
getInputName()
Gets the name of the input. |
Integer |
getLiveTvOrder()
Gets the live-TV order of the input. |
Integer |
getMultiplexID()
Gets the multiplex ID of the input. |
Integer |
getSourceID()
Gets the source ID. |
boolean |
isBusy()
Gets the busy status of the encoder input. |
Methods inherited from interface org.jmythapi.IVersionable |
---|
getVersionNr |
Field Detail |
---|
static final String EMPTY_INPUT
Method Detail |
---|
Integer getSourceID()
getSourceID
in interface IBasicInputInfo
Integer getInputID()
getInputID
in interface IBasicInputInfo
Integer getCardID()
getCardID
in interface IBasicInputInfo
String getInputName()
Integer getMultiplexID()
Integer getLiveTvOrder()
boolean isBusy()
true
if this input is busy.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |