com.webhiker.dreambox.api.status
Class Status

java.lang.Object
  extended by com.webhiker.dreambox.api.status.Status

public class Status
extends java.lang.Object

The Class Status holds information about the current status of the Dreambox.


Constructor Summary
Status()
          Instantiates a new status.
Status(java.io.InputStream is)
          Instantiates a new status.
 
Method Summary
 java.lang.String getNextProgramName()
          Gets the next program name.
 java.lang.String getNextProgramStartTime()
          Gets the next program start time.
 java.lang.String getProgramName()
          Gets the program name.
 java.lang.String getProgramStartTime()
          Gets the program start time.
 java.lang.String getServiceName()
          Gets the channel name.
 java.lang.String getServiceReference()
          Gets the service reference.
 long getUpdateDelay()
          Gets the update delay.
 java.lang.String getVLCURL()
          Gets the VLC URL to view the current channel in VLC.
 int getVolume()
          Gets the volume.
 boolean isDolby()
          Checks if is dolby.
 boolean isMute()
          Checks if is mute.
 boolean isRecording()
          Checks if is recording.
 boolean isStandby()
          Checks if is standby.
 void setDolby(boolean dolby)
          Sets the dolby.
 void setMute(boolean mute)
          Sets the Dreambox mute status to the specified state.
 void setNextProgramName(java.lang.String nextServiceName)
          Sets the next program name.
 void setNextProgramStartTime(java.lang.String nextServiceStartTime)
          Sets the next program start time.
 void setProgramName(java.lang.String serviceName)
          Sets the program name.
 void setProgramStartTime(java.lang.String serviceStartTime)
          Sets the program start time.
 void setRecording(boolean recording)
          Sets the recording.
 void setServiceName(java.lang.String serviceName)
          Sets the channel name.
 void setServiceReference(java.lang.String serviceReference)
          Sets the service reference.
 void setStandby(boolean standby)
          Sets the standby.
 void setUpdateDelay(long updateDelay)
          Sets the update delay.
 void setVLCURL(java.lang.String vlcurl)
          Sets the vLCURL.
 void setVolume(int volume)
          Sets the volume.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Status

public Status()
Instantiates a new status.


Status

public Status(java.io.InputStream is)
       throws java.io.IOException
Instantiates a new status.

Parameters:
is - the is
Throws:
java.io.IOException - Signals that an I/O exception has occurred.
Method Detail

getVolume

public int getVolume()
Gets the volume.

Returns:
the volume

setVolume

public void setVolume(int volume)
Sets the volume.

Parameters:
volume - the new volume

isStandby

public boolean isStandby()
Checks if is standby.

Returns:
true, if is standby

setStandby

public void setStandby(boolean standby)
Sets the standby.

Parameters:
standby - the new standby

isMute

public boolean isMute()
Checks if is mute.

Returns:
true, if is mute

setMute

public void setMute(boolean mute)
Sets the Dreambox mute status to the specified state.

Parameters:
mute - the new mute

getVLCURL

public java.lang.String getVLCURL()
Gets the VLC URL to view the current channel in VLC.

Returns:
the vLCURL

setVLCURL

public void setVLCURL(java.lang.String vlcurl)
Sets the vLCURL.

Parameters:
vlcurl - the new vLCURL

getUpdateDelay

public long getUpdateDelay()
Gets the update delay.

Returns:
the update delay

setUpdateDelay

public void setUpdateDelay(long updateDelay)
Sets the update delay.

Parameters:
updateDelay - the new update delay

getProgramName

public java.lang.String getProgramName()
Gets the program name.

Returns:
the program name

setProgramName

public void setProgramName(java.lang.String serviceName)
Sets the program name.

Parameters:
serviceName - the new program name

getNextProgramName

public java.lang.String getNextProgramName()
Gets the next program name.

Returns:
the next program name

setNextProgramName

public void setNextProgramName(java.lang.String nextServiceName)
Sets the next program name.

Parameters:
nextServiceName - the new next program name

getProgramStartTime

public java.lang.String getProgramStartTime()
Gets the program start time.

Returns:
the program start time

setProgramStartTime

public void setProgramStartTime(java.lang.String serviceStartTime)
Sets the program start time.

Parameters:
serviceStartTime - the new program start time

getNextProgramStartTime

public java.lang.String getNextProgramStartTime()
Gets the next program start time.

Returns:
the next program start time

setNextProgramStartTime

public void setNextProgramStartTime(java.lang.String nextServiceStartTime)
Sets the next program start time.

Parameters:
nextServiceStartTime - the new next program start time

isDolby

public boolean isDolby()
Checks if is dolby.

Returns:
true, if is dolby

setDolby

public void setDolby(boolean dolby)
Sets the dolby.

Parameters:
dolby - the new dolby

isRecording

public boolean isRecording()
Checks if is recording.

Returns:
true, if is recording

setRecording

public void setRecording(boolean recording)
Sets the recording.

Parameters:
recording - the new recording

getServiceReference

public java.lang.String getServiceReference()
Gets the service reference.

Returns:
the service reference

setServiceReference

public void setServiceReference(java.lang.String serviceReference)
Sets the service reference.

Parameters:
serviceReference - the new service reference

getServiceName

public java.lang.String getServiceName()
Gets the channel name.

Returns:
the channel name

setServiceName

public void setServiceName(java.lang.String serviceName)
Sets the channel name.

Parameters:
serviceName - the new channel name