org.jmythapi.protocol.response.impl
Class RecordingStatus
java.lang.Object
org.jmythapi.impl.AData<E>
org.jmythapi.protocol.response.impl.AMythResponse<IRecordingStatus.Props>
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
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 interface org.jmythapi.IPropertyAware |
getProperties, getProperty, getPropertyClass, getPropertyCount, getPropertyIndex, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject |
RecordingStatus
public RecordingStatus(IMythPacket packet)
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.