|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<IRemoteEncoderState.State> org.jmythapi.protocol.response.IRemoteEncoderState.State
public static enum IRemoteEncoderState.State
The states of an IRemoteEncoderState
response.
MythTV Protocol Version Matrix | ||||||
---|---|---|---|---|---|---|
Protocol | ||||||
Name | Type | Range | 00 | 45 | 58 | -1 |
NONE | String | [00,-1) | X | X | X | X |
WATCHING_LIVE_TV | String | [00,-1) | X | X | X | X |
WATCHING_PRERECORDED | String | [00,-1) | X | X | X | X |
WATCHING_VIDEO | String | [45,-1) | - | X | X | X |
WATCHING_DVD | String | [45,-1) | - | X | X | X |
WATCHING_BD | String | [58,-1) | - | - | X | X |
WATCHING_RECORDING | String | [00,-1) | X | X | X | X |
RECORDING_ONLY | String | [00,-1) | X | X | X | X |
CHANGING_STATE | String | [00,-1) | X | X | X | X |
Enum Constant Summary | |
---|---|
CHANGING_STATE
Changing State. |
|
NONE
None. |
|
RECORDING_ONLY
Recording Only. |
|
WATCHING_BD
Watching BD. |
|
WATCHING_DVD
Watching DVD. |
|
WATCHING_LIVE_TV
Watching LiveTV. |
|
WATCHING_PRERECORDED
Watching Pre-recorded. |
|
WATCHING_RECORDING
Watching Recording. |
|
WATCHING_VIDEO
Watching Video. |
Method Summary | |
---|---|
static IRemoteEncoderState.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IRemoteEncoderState.State[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IRemoteEncoderState.State NONE
None State, this is the initial state in both TV and TVRec, it indicates that we are ready to change to some other state.
public static final IRemoteEncoderState.State WATCHING_LIVE_TV
Watching LiveTV is the state for when we are watching a recording and the user has control over the channel and the recorder to use.
public static final IRemoteEncoderState.State WATCHING_PRERECORDED
Watching Pre-recorded is a TV only state for when we are watching a pre-existing recording.
public static final IRemoteEncoderState.State WATCHING_VIDEO
Watching Video is the state when we are watching a video and is not a dvd
public static final IRemoteEncoderState.State WATCHING_DVD
Watching DVD is the state when we are watching a DVD
public static final IRemoteEncoderState.State WATCHING_BD
Watching BD is the state when we are watching a BD.
public static final IRemoteEncoderState.State WATCHING_RECORDING
Watching Recording is the state for when we are watching an in progress recording, but the user does not have control over the channel and recorder to use.
public static final IRemoteEncoderState.State RECORDING_ONLY
Recording Only is a TVRec only state for when we are recording a program, but there is no one currently watching it.
public static final IRemoteEncoderState.State CHANGING_STATE
This is a placeholder state which we never actually enter, but is returned by GetState() when we are in the process of changing the state.
Method Detail |
---|
public static IRemoteEncoderState.State[] values()
for (IRemoteEncoderState.State c : IRemoteEncoderState.State.values()) System.out.println(c);
public static IRemoteEncoderState.State valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |