Enum AnalogDigitalFlagType

  • All Implemented Interfaces:
    Serializable, Comparable<AnalogDigitalFlagType>

    public enum AnalogDigitalFlagType
    extends Enum<AnalogDigitalFlagType>
    This class defines enumerated types for the analog/digital flag of AESAudioMetadata. Applications will not create or modify instances of this class, but will use one of the predefined AnalogDigitalFlagType instances.
    Author:
    Gary McGath
    • Enum Constant Detail

      • PHYS_DIGITAL

        public static final AnalogDigitalFlagType PHYS_DIGITAL
        Enumeration instance for physical digital data
      • FILE_DIGITAL

        public static final AnalogDigitalFlagType FILE_DIGITAL
        Enumeration instance for FILE digital data
    • Field Detail

      • value

        public final String value
        A String value for the type
    • Method Detail

      • values

        public static AnalogDigitalFlagType[] 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 (AnalogDigitalFlagType c : AnalogDigitalFlagType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AnalogDigitalFlagType 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