org.jmythapi.protocol.response
Enum IRemoteEncoderState.State

java.lang.Object
  extended by java.lang.Enum<IRemoteEncoderState.State>
      extended by org.jmythapi.protocol.response.IRemoteEncoderState.State
All Implemented Interfaces:
Serializable, Comparable<IRemoteEncoderState.State>
Enclosing interface:
IRemoteEncoderState

public static enum IRemoteEncoderState.State
extends Enum<IRemoteEncoderState.State>

The states of an IRemoteEncoderState response.

MythTV Protocol Version Matrix
 Protocol
NameTypeRange004558-1
NONEString[00,-1)XXXX
WATCHING_LIVE_TVString[00,-1)XXXX
WATCHING_PRERECORDEDString[00,-1)XXXX
WATCHING_VIDEOString[45,-1)-XXX
WATCHING_DVDString[45,-1)-XXX
WATCHING_BDString[58,-1)--XX
WATCHING_RECORDINGString[00,-1)XXXX
RECORDING_ONLYString[00,-1)XXXX
CHANGING_STATEString[00,-1)XXXX

See Also:
tv.h

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

NONE

public static final IRemoteEncoderState.State NONE
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.

Since:
00

WATCHING_LIVE_TV

public static final IRemoteEncoderState.State WATCHING_LIVE_TV
Watching LiveTV.

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.

Since:
00

WATCHING_PRERECORDED

public static final IRemoteEncoderState.State WATCHING_PRERECORDED
Watching Pre-recorded.

Watching Pre-recorded is a TV only state for when we are watching a pre-existing recording.

Since:
00

WATCHING_VIDEO

public static final IRemoteEncoderState.State WATCHING_VIDEO
Watching Video.

Watching Video is the state when we are watching a video and is not a dvd

Since:
45

WATCHING_DVD

public static final IRemoteEncoderState.State WATCHING_DVD
Watching DVD.

Watching DVD is the state when we are watching a DVD

Since:
45

WATCHING_BD

public static final IRemoteEncoderState.State WATCHING_BD
Watching BD.

Watching BD is the state when we are watching a BD.

Since:
58

WATCHING_RECORDING

public static final IRemoteEncoderState.State WATCHING_RECORDING
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.

Since:
00

RECORDING_ONLY

public static final IRemoteEncoderState.State RECORDING_ONLY
Recording Only.

Recording Only is a TVRec only state for when we are recording a program, but there is no one currently watching it.

Since:
00

CHANGING_STATE

public static final IRemoteEncoderState.State CHANGING_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.

Since:
00
Method Detail

values

public static IRemoteEncoderState.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IRemoteEncoderState.State c : IRemoteEncoderState.State.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IRemoteEncoderState.State valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2008-2013. All Rights Reserved.