org.jmythapi.protocol.response
Interface IFreeInputList

All Superinterfaces:
Iterable<IInputInfoFree>, IVersionable
All Known Implementing Classes:
FreeInputsList

public interface IFreeInputList
extends Iterable<IInputInfoFree>, IVersionable

The response to a IRecorder.getFreeInputs() or IRemoteEncoder.getFreeInputs() request.

A response example:

Example Hauppauge HVR-1700:
<0>INPUT_NAME: DVBInput | <1>SOURCE_ID: 1 | <2>INPUT_ID: 1 | <3>CARD_ID: 1 | <4>MULTIPLEX_ID: 0
Example Hauppauge PVR-150:
<0>INPUT_NAME: Tuner 1 | <1>SOURCE_ID: 1 | <2>INPUT_ID: 1 | <3>CARD_ID: 1 | <4>MULTIPLEX_ID: 0

See Also:
IRecorder.getFreeInputs(), IRemoteEncoder.getFreeInputs(), QUERY_REMOTEENCODER_GET_FREE_INPUTS, QUERY_RECORDER_GET_FREE_INPUTS

Method Summary
 List<IInputInfoFree> asList()
          Gets the free-inputs as list
 IInputInfoFree get(int idx)
          Gets the input at the given position.
 boolean isEmpty()
          Checks if this list is empty.
 int size()
          The size of this list
 
Methods inherited from interface java.lang.Iterable
iterator
 
Methods inherited from interface org.jmythapi.IVersionable
getVersionNr
 

Method Detail

asList

List<IInputInfoFree> asList()
Gets the free-inputs as list

Returns:
the input devices as list

get

IInputInfoFree get(int idx)
Gets the input at the given position.

Parameters:
idx - the input index
Returns:
the input

size

int size()
The size of this list

Returns:
the size of this list

isEmpty

boolean isEmpty()
Checks if this list is empty.

Returns:
true if the list is empty.


Copyright © 2008-2013. All Rights Reserved.