org.jmythapi.protocol.response.impl
Class RecordingStatus

java.lang.Object
  extended by org.jmythapi.impl.AData<E>
      extended by org.jmythapi.protocol.response.impl.AMythResponse<IRecordingStatus.Props>
          extended by org.jmythapi.protocol.response.impl.RecordingStatus
All Implemented Interfaces:
Cloneable, IPropertyAware<IRecordingStatus.Props>, IVersionable, ISendable, IMythResponse<IRecordingStatus.Props>, IRecordingStatus

public class RecordingStatus
extends AMythResponse<IRecordingStatus.Props>
implements IRecordingStatus


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jmythapi.protocol.response.IRecordingStatus
IRecordingStatus.Props
 
Field Summary
 
Fields inherited from class org.jmythapi.impl.AData
logger, propsClass, protoVersion, respArgs
 
Constructor Summary
RecordingStatus(IMythPacket packet)
           
 
Method Summary
 int getActiveRecordings()
          Get the total amount of active recordings.
 int getLiveTVRecordings()
          Get the total amount of recordings due to live-tv sessions
 boolean isRecording()
          Gets the current recording status.
 
Methods inherited from class org.jmythapi.protocol.response.impl.AMythResponse
checkSize, decodeProperty, encodeProperty, getExpectedSize, getPacket, getProperties, getProperty, getPropertyIndex
 
Methods inherited from class org.jmythapi.impl.AData
clone, equals, getPropertyClass, getPropertyCount, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValueObject, getPropertyValues, getVersionNr, hashCode, init, postProcessArguments, setPropertyValue, setPropertyValue, setPropertyValueObject, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jmythapi.IVersionable
getVersionNr
 
Methods inherited from interface org.jmythapi.IPropertyAware
getProperties, getProperty, getPropertyClass, getPropertyCount, getPropertyIndex, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject
 

Constructor Detail

RecordingStatus

public RecordingStatus(IMythPacket packet)
Method Detail

getActiveRecordings

public int getActiveRecordings()
Description copied from interface: IRecordingStatus
Get the total amount of active recordings.

Specified by:
getActiveRecordings in interface IRecordingStatus
Returns:
the amount of active recordins

getLiveTVRecordings

public int getLiveTVRecordings()
Description copied from interface: IRecordingStatus
Get the total amount of recordings due to live-tv sessions

Specified by:
getLiveTVRecordings in interface IRecordingStatus
Returns:
the amount of live-tv recordings
Since:
40

isRecording

public boolean isRecording()
Description copied from interface: IRecordingStatus
Gets the current recording status.

Specified by:
isRecording in interface IRecordingStatus
Returns:
true if there is at least one active recording.


Copyright © 2008-2013. All Rights Reserved.