org.jmythapi.protocol.response
Enum IProgramSubtitleType.Flags

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

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

The flags of the IProgramInfo.Props.SUBTITLE_TYPE property.

MythTV Protocol Version Matrix
 Protocol
NameTypeRange3537-1
SUB_UNKNOWNIFlag[35,-1)XXX
SUB_HARDHEARIFlag[35,-1)XXX
SUB_NORMALIFlag[35,-1)XXX
SUB_ONSCREENIFlag[35,-1)XXX
SUB_SIGNEDIFlag[37,-1)-XX

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

Enum Constant Summary
SUB_HARDHEAR
          Closed Captioned
SUB_NORMAL
          Subtitles Available
SUB_ONSCREEN
          Subtitled
SUB_SIGNED
          Deaf Signing
SUB_UNKNOWN
           
 
Method Summary
 Long getFlagValue()
          Gets the value associated with the flag.
static IProgramSubtitleType.Flags valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IProgramSubtitleType.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

SUB_UNKNOWN

public static final IProgramSubtitleType.Flags SUB_UNKNOWN

SUB_HARDHEAR

public static final IProgramSubtitleType.Flags SUB_HARDHEAR
Closed Captioned


SUB_NORMAL

public static final IProgramSubtitleType.Flags SUB_NORMAL
Subtitles Available


SUB_ONSCREEN

public static final IProgramSubtitleType.Flags SUB_ONSCREEN
Subtitled


SUB_SIGNED

public static final IProgramSubtitleType.Flags SUB_SIGNED
Deaf Signing

Method Detail

values

public static IProgramSubtitleType.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 (IProgramSubtitleType.Flags c : IProgramSubtitleType.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 IProgramSubtitleType.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.