org.jmythapi.protocol.response
Enum IProgramAudioProperties.Flags

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

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

The flags of the IProgramInfo.Props.AUDIO_PROPERTIES property.

MythTV Protocol Version Matrix
 Protocol
NameTypeRange3537-1
AUD_UNKNOWNIFlag[35,-1)XXX
AUD_STEREOIFlag[35,-1)XXX
AUD_MONOIFlag[35,-1)XXX
AUD_SURROUNDIFlag[35,-1)XXX
AUD_DOLBYIFlag[35,-1)XXX
AUD_HARDHEARIFlag[37,-1)-XX
AUD_VISUALIMPAIRIFlag[37,-1)-XX

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

Enum Constant Summary
AUD_DOLBY
          Dolby Sound
AUD_HARDHEAR
          Audio for Hearing Impaired
AUD_MONO
          Mono
AUD_STEREO
          Stereo
AUD_SURROUND
          Surround Sound
AUD_UNKNOWN
           
AUD_VISUALIMPAIR
          Audio for Visually Impaired
 
Method Summary
 Long getFlagValue()
          Gets the value associated with the flag.
static IProgramAudioProperties.Flags valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IProgramAudioProperties.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

AUD_UNKNOWN

public static final IProgramAudioProperties.Flags AUD_UNKNOWN

AUD_STEREO

public static final IProgramAudioProperties.Flags AUD_STEREO
Stereo


AUD_MONO

public static final IProgramAudioProperties.Flags AUD_MONO
Mono


AUD_SURROUND

public static final IProgramAudioProperties.Flags AUD_SURROUND
Surround Sound


AUD_DOLBY

public static final IProgramAudioProperties.Flags AUD_DOLBY
Dolby Sound


AUD_HARDHEAR

public static final IProgramAudioProperties.Flags AUD_HARDHEAR
Audio for Hearing Impaired


AUD_VISUALIMPAIR

public static final IProgramAudioProperties.Flags AUD_VISUALIMPAIR
Audio for Visually Impaired

Method Detail

values

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