org.jmythapi.protocol.response
Enum IProgramVideoProperties.Flags

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

public static enum IProgramVideoProperties.Flags
extends Enum<IProgramVideoProperties.Flags>
implements IFlag

The flags of the IProgramInfo.Props.VIDEO_PROPERTIES property.

MythTV Protocol Version Matrix
 Protocol
NameTypeRange35374570-1
VID_UNKNOWNIFlag[35,-1)XXXXX
VID_HDTVIFlag[35,-1)XXXXX
VID_WIDESCREENIFlag[35,-1)XXXXX
VID_AVCIFlag[37,-1)-XXXX
VID_720IFlag[45,-1)--XXX
VID_1080IFlag[45,-1)--XXX
VID_DAMAGEDIFlag[70,-1)---XX

Since:
35
See Also:
libmythtv/programinfo.h, libmyth/programinfo.h, libmyth/programtypes.h

Enum Constant Summary
VID_1080
          1080i/p.
VID_720
          720p.
VID_AVC
          AVC/H.264.
VID_DAMAGED
          Damaged video.
VID_HDTV
          HDTV.
VID_UNKNOWN
           
VID_WIDESCREEN
          Widescreen.
 
Method Summary
 Long getFlagValue()
          Gets the value associated with the flag.
static IProgramVideoProperties.Flags valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IProgramVideoProperties.Flags[] 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
 
Methods inherited from interface org.jmythapi.protocol.response.IFlag
name
 

Enum Constant Detail

VID_UNKNOWN

public static final IProgramVideoProperties.Flags VID_UNKNOWN

VID_HDTV

public static final IProgramVideoProperties.Flags VID_HDTV
HDTV.


VID_WIDESCREEN

public static final IProgramVideoProperties.Flags VID_WIDESCREEN
Widescreen.


VID_AVC

public static final IProgramVideoProperties.Flags VID_AVC
AVC/H.264.


VID_720

public static final IProgramVideoProperties.Flags VID_720
720p.

Since:
45

VID_1080

public static final IProgramVideoProperties.Flags VID_1080
1080i/p.

Since:
45

VID_DAMAGED

public static final IProgramVideoProperties.Flags VID_DAMAGED
Damaged video.

The recording is perhaps watchable, but this gives a warning that there may be a serious problem with the recording.

Method Detail

values

public static IProgramVideoProperties.Flags[] 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 (IProgramVideoProperties.Flags c : IProgramVideoProperties.Flags.values())
    System.out.println(c);

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

valueOf

public static IProgramVideoProperties.Flags 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

getFlagValue

public Long getFlagValue()
Description copied from interface: IFlag
Gets the value associated with the flag.

Specified by:
getFlagValue in interface IFlag
Returns:
the flag value


Copyright © 2008-2013. All Rights Reserved.