org.jmythapi
Interface IBasicChannelInfo

All Superinterfaces:
IVersionable
All Known Subinterfaces:
IProgramInfo, IRecorderChannelInfo, IRecorderNextProgramInfo, IRecorderProgramInfo
All Known Implementing Classes:
AProgramInfo, ARecorderProgramInfo, ChannelInfo, ProgramInfo, RecorderChannelInfo, RecorderNextProgramInfo, RecorderNextProgramInfo, RecorderProgramInfo

public interface IBasicChannelInfo
extends IVersionable

This interface is used to access some basic channels informations.

The following interfaces extend from this interface. The table below shows which channel-related informations are provided by which interfaces.

Channel Informations
Interface Range IBasicChannelInfo Additional Informations
Channel ID Channel Number Channel Sign Channel Name Channel Icon Source ID XMLTV ID
IProgramInfo [00,-1) X X X X - X -
IRecorderProgramInfo [00,21) X X X - X - -
IRecorderNextProgramInfo [00,-1) X X X - X - -
IRecorderChannelInfo [28,-1) X X X X - X X


Method Summary
 Integer getChannelID()
          Gets the MythTV internal channel ID.
 String getChannelNumber()
          Gets the user defined channel number.
 String getChannelSign()
          Gets the station abbreviation.
 
Methods inherited from interface org.jmythapi.IVersionable
getVersionNr
 

Method Detail

getChannelID

Integer getChannelID()
Gets the MythTV internal channel ID.

Returns:
the ID of the channel, e.g. 11123

getChannelNumber

String getChannelNumber()
Gets the user defined channel number.

Returns:
the user defined number. This could contain '-', '_' or '.'
See Also:
IRecorderChannelInfo.Props.CHANNEL_NUMBER

getChannelSign

String getChannelSign()
Gets the station abbreviation.

Returns:
the channel abbreviation, e.g. PULS 4


Copyright © 2008-2013. All Rights Reserved.