|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemoteEncoderState
An interface to geht the state of a MythTV encoder.
This interface represents the response to a IRemoteEncoder.getState()
request.
This interface is property-aware
. See the properties-list
for all properties of this interface.
<0>STATE: RECORDING_ONLY
<0>STATE: WATCHING_LIVE_TV
<0>STATE: NONE
IRemoteEncoder.getState()
,
QUERY_REMOTEENCODER_GET_STATE
Nested Class Summary | |
---|---|
static class |
IRemoteEncoderState.Props
The properties of an IRemoteEncoderState response. |
static class |
IRemoteEncoderState.State
The states of an IRemoteEncoderState response. |
Method Summary | |
---|---|
IRemoteEncoderState.State |
getState()
Gets the current state of a remote encoder. |
int |
getStateValue()
Gets the current state of a remote encoder as integer value. |
boolean |
hasState(IRemoteEncoderState.State... states)
|
boolean |
hasState(IRemoteEncoderState.State state)
|
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 |
Method Detail |
---|
int getStateValue()
This is the ordinal number of the IRemoteEncoderState.Props
.
IRemoteEncoderState.State getState()
null
on errors.boolean hasState(IRemoteEncoderState.State state)
boolean hasState(IRemoteEncoderState.State... states)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |